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/symbols-function-ref.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/symbols-function-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/symbols-function-ref.html | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/symbols-function-ref.html b/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/symbols-function-ref.html new file mode 100644 index 0000000000..d2291bd1ef --- /dev/null +++ b/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/symbols-function-ref.html @@ -0,0 +1,89 @@ +<!DOCTYPE html> +<meta charset="UTF-8"> +<title>CSS Reference: symbols function, invalid</title> +<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/"> +<link rel="stylesheet" href="support/test-common.css"> +<style type="text/css"> + @counter-style cyclic { + system: cyclic; + symbols: '*' '\2020' '\2021' '\A7'; + suffix: ' '; + } + @counter-style numeric { + system: numeric; + symbols: '0' '1' '2'; + suffix: ' '; + } + @counter-style alphabetic { + system: alphabetic; + symbols: '\26AA' '\26AB'; + suffix: ' '; + } + @counter-style symbolic { + system: symbolic; + symbols: '*' '\2020' '\2021' '\A7'; + suffix: ' '; + } + @counter-style fixed { + system: fixed; + symbols: '\25F0' '\25F1' '\25F2' '\25F3'; + suffix: ' '; + } + @counter-style counter { + symbols: '*'; + } + @counter-style counters { + system: numeric; + symbols: '0' '1'; + } + .counter { counter-reset: a; } + .counter p { counter-increment: a 1; } + .counter p::after { + content: counter(a, counter); + } + .counter, .counters { + list-style-type: none; + counter-reset: a; + } + .counter li, .counters li { + counter-increment: a; + padding-right: .5em; + } + .counter li::after { + content: counter(a, counter); + } + .counters .counters li::after { + content: counters(a, '.', counters); + } +</style> +<ol start="-2" style="list-style-type: symbolic"> + <li><li><li><li><li> + <li><li><li><li><li> +</ol> +<ol start="-2" style="list-style-type: cyclic"> + <li><li><li><li><li> + <li><li><li><li><li> +</ol> +<ol start="-2" style="list-style-type: numeric"> + <li><li><li><li><li> + <li><li><li><li><li> +</ol> +<ol start="-2" style="list-style-type: alphabetic"> + <li><li><li><li><li> + <li><li><li><li><li> +</ol> +<ol start="-2" style="list-style-type: symbolic"> + <li><li><li><li><li> + <li><li><li><li><li> +</ol> +<ol start="-2" style="list-style-type: fixed"> + <li><li><li><li><li> + <li><li><li><li><li> +</ol> +<ol class="counter"> + <li><li><li><li><li> +</ol> +<ol class="counters"> + <li><ol class="counters"><li><li><li><li><li></ol></li> + <li><ol class="counters"><li><li><li><li><li></ol></li> +</ol> |