diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/counter-style | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/counter-style')
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> |