summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/nth-child-of-no-space-after-of-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/selectors/nth-child-of-no-space-after-of-ref.html')
-rw-r--r--testing/web-platform/tests/css/selectors/nth-child-of-no-space-after-of-ref.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/selectors/nth-child-of-no-space-after-of-ref.html b/testing/web-platform/tests/css/selectors/nth-child-of-no-space-after-of-ref.html
new file mode 100644
index 0000000000..94dbc67a85
--- /dev/null
+++ b/testing/web-platform/tests/css/selectors/nth-child-of-no-space-after-of-ref.html
@@ -0,0 +1,31 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>CSS Test Reference</title>
+<style>
+ div {
+ color: red;
+ }
+
+ .target {
+ color: green;
+ }
+</style>
+<p>Testing no space between "of" and the selector list. If the test succeeded, every instance of the text "Success" should be green.</p>
+<div></div>
+<div>Foo</div>
+<div></div>
+<div>Bar</div>
+<div></div>
+<div class=target>Success</div>
+<div></div>
+<div>Foo</div>
+<div></div>
+<div>Bar</div>
+<div></div>
+<div class=target>Success</div>
+<div></div>
+<div>Foo</div>
+<div></div>
+<div>Bar</div>
+<div></div>
+<div class=target>Success</div>