aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-lists/counter-reset-increment-set-display-none.html
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-04-29 00:58:07 -0400
committerGitHub <noreply@github.com>2019-04-29 00:58:07 -0400
commitd58ea974baff1b51a43d2e2bf4b287ff11991a8d (patch)
tree77da4be3491080af45d794f28e94f818a6efaeca /tests/wpt/web-platform-tests/css/css-lists/counter-reset-increment-set-display-none.html
parentc58f91ec1fd51ab7caff7d2e1453a15db6d8eb45 (diff)
parentc084436da7868db4ec43e8228f254abde16c5818 (diff)
downloadservo-d58ea974baff1b51a43d2e2bf4b287ff11991a8d.tar.gz
servo-d58ea974baff1b51a43d2e2bf4b287ff11991a8d.zip
Auto merge of #23285 - servo-wpt-sync:wpt_update_29-04-2019, r=servo-wpt-sync
Sync WPT with upstream (29-04-2019) Automated downstream sync of changes from upstream as of 29-04-2019. [no-wpt-sync]
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-lists/counter-reset-increment-set-display-none.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-lists/counter-reset-increment-set-display-none.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-lists/counter-reset-increment-set-display-none.html b/tests/wpt/web-platform-tests/css/css-lists/counter-reset-increment-set-display-none.html
new file mode 100644
index 00000000000..510fd8b6482
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-lists/counter-reset-increment-set-display-none.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Lists: counter-reset, counter-set and counter-increment on display:none</title>
+<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-lists/#counters-without-boxes">
+<link rel="match" href="counter-7-ref.html">
+<style>
+ .inc { counter-increment: x }
+ .reset-6 { counter-reset: x 6 }
+ .reset-666 { counter-reset: x 666 }
+ .set-666 { counter-set: x 666 }
+ .none { display: none }
+ .result::before { content: counter(x) }
+</style>
+<p>You should see the number 7 below.</p>
+<div>
+ <span class="reset-6"></span>
+ <span class="none reset-666 inc"></span>
+ <span class="none set-666"></span>
+ <span class="inc result"></span>
+</div>