diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/disclosure-styles.html | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/disclosure-styles.html')
-rw-r--r-- | testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/disclosure-styles.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/disclosure-styles.html b/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/disclosure-styles.html new file mode 100644 index 0000000000..79ac6ca145 --- /dev/null +++ b/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/disclosure-styles.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<meta charset="UTF-8"> +<title>CSS Test: disclosure styles</title> +<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> +<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#disclosure-open"> +<link rel="match" href="disclosure-styles-ref.html"> +<style type="text/css"> + @counter-style disclosure-closed2 { + system: extends disclosure-closed; + } + @counter-style disclosure-open2 { + system: extends disclosure-open; + } + ul { + padding: 0; + list-style-position: inside; + } + .closed { list-style-type: disclosure-closed2; } + .open { list-style-type: disclosure-open2; } + p::before { + content: counter(a, disclosure-closed) " "; + } +</style> +<ul dir="ltr"> + <li class="closed">closed ltr + <li class="open">open ltr +</ul> +<ul dir="rtl"> + <li class="closed">closed rtl + <li class="open">open rtl +</ul> +<p dir="ltr">closed ltr +<p dir="rtl">closed rtl |