diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /layout/reftests/counter-style | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
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> |