diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-lists/counter-reset-reversed-list-item-start.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-lists/counter-reset-reversed-list-item-start.html')
-rw-r--r-- | testing/web-platform/tests/css/css-lists/counter-reset-reversed-list-item-start.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-lists/counter-reset-reversed-list-item-start.html b/testing/web-platform/tests/css/css-lists/counter-reset-reversed-list-item-start.html new file mode 100644 index 0000000000..4c8039b25d --- /dev/null +++ b/testing/web-platform/tests/css/css-lists/counter-reset-reversed-list-item-start.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Lists: counter-reset reversed(list-item) with start value</title> +<link rel="help" href="https://drafts.csswg.org/css-lists/#counter-reset"> +<link rel="match" href="counter-7-ref.html"> +<style> + .li { display: list-item; } + .reset-reversed { counter-reset: reversed(list-item) 10 } + .result::before { content: counter(list-item) } + ::marker { content: none; } + .li:not(.result) { height: 0 } +</style> +<p>You should see the number 7 below.</p> +<div> + <span class="li reset-reversed"></span> + <span class="li"></span> + <span class="li result"></span> + <span class="li"></span> + <span class="li"></span> + <span class="li"></span> + <span class="li"></span> +</div> |