summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/nth-last-child-of-style-sharing-1-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/selectors/nth-last-child-of-style-sharing-1-ref.html')
-rw-r--r--testing/web-platform/tests/css/selectors/nth-last-child-of-style-sharing-1-ref.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/selectors/nth-last-child-of-style-sharing-1-ref.html b/testing/web-platform/tests/css/selectors/nth-last-child-of-style-sharing-1-ref.html
new file mode 100644
index 0000000000..14ca8e42c7
--- /dev/null
+++ b/testing/web-platform/tests/css/selectors/nth-last-child-of-style-sharing-1-ref.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<html>
+<body>
+ <p>Test that style-sharing does not ignore cases matching :nth-last-child(An+B of selector list).</p>
+ <p style="background-color: lime">Target</p>
+ <p>Target</p>
+ <p>Target</p>
+ <p style="background-color: lime">Target</p>
+ <p>Target</p>
+ <p>Target</p>
+ <p style="background-color: lime">Target</p>
+</body>
+</html>