diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/counter-style | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
5 files changed, 70 insertions, 0 deletions
diff --git a/layout/reftests/counter-style/ref-common.css b/layout/reftests/counter-style/ref-common.css new file mode 100644 index 0000000000..92d77de0e5 --- /dev/null +++ b/layout/reftests/counter-style/ref-common.css @@ -0,0 +1,12 @@ +body { + /* to match ua.css, see bug 1020143 */ + font-variant-numeric: tabular-nums; +} +div, p { + padding: 0; margin: 0; + line-height: 150%; + float: left; +} +p { + padding-right: .5em; +} diff --git a/layout/reftests/counter-style/reftest.list b/layout/reftests/counter-style/reftest.list new file mode 100644 index 0000000000..8e99c7ba4f --- /dev/null +++ b/layout/reftests/counter-style/reftest.list @@ -0,0 +1 @@ +== too-long-representation.html too-long-representation-ref.html diff --git a/layout/reftests/counter-style/test-common.css b/layout/reftests/counter-style/test-common.css new file mode 100644 index 0000000000..dcbf4e1e02 --- /dev/null +++ b/layout/reftests/counter-style/test-common.css @@ -0,0 +1,18 @@ +body { + /* to match ua.css, see bug 1020143 */ + font-variant-numeric: tabular-nums; +} +ol, ul, section, p { + padding: 0; margin: 0; + line-height: 150%; +} +ol, ul { + list-style-position: inside; +} +li, p { + float: left; + padding: 0; +} +p { + padding-right: .5em; +} diff --git a/layout/reftests/counter-style/too-long-representation-ref.html b/layout/reftests/counter-style/too-long-representation-ref.html new file mode 100644 index 0000000000..9908fe73a3 --- /dev/null +++ b/layout/reftests/counter-style/too-long-representation-ref.html @@ -0,0 +1,6 @@ +<!DOCTYPE html> +<link rel="stylesheet" href="ref-common.css"> +<div>1000</div> +<div>100. </div> +<div>1000</div> +<div>100. </div> diff --git a/layout/reftests/counter-style/too-long-representation.html b/layout/reftests/counter-style/too-long-representation.html new file mode 100644 index 0000000000..c09fc89ec4 --- /dev/null +++ b/layout/reftests/counter-style/too-long-representation.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<link rel="stylesheet" href="test-common.css"> +<style type="text/css"> + @counter-style a { + /* system: symbolic; */ + symbols: '*' \2051 \2020 \2021; + suffix: ''; + } + @counter-style b { + symbols: \10300; + } + @counter-style c { + system: additive; + additive-symbols: 6 \2685, 5 \2684, 4 \2683, 3 \2682, 2 \2681, 1 \2680; + suffix: ""; + } + @counter-style d { + system: additive; + additive-symbols: 1 \10300; + } +</style> +<ol style="list-style-type: a"> + <li value="1000"><!-- too long --> +</ol> +<ol style="list-style-type: b"> + <li value="100"><!-- too long --> +</ol> +<ol style="list-style-type: c"> + <li value="1000"><!-- too long --> +</ol> +<ol style="list-style-type: d"> + <li value="100"><!-- too long --> +</ol> |