diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/counter-style | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.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> |