summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-selectors/nth-child-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-selectors/nth-child-ref.html')
-rw-r--r--layout/reftests/css-selectors/nth-child-ref.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/css-selectors/nth-child-ref.html b/layout/reftests/css-selectors/nth-child-ref.html
new file mode 100644
index 000000000..b327d5505
--- /dev/null
+++ b/layout/reftests/css-selectors/nth-child-ref.html
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML>
+<html><head>
+ <meta charset="utf-8">
+ <title>Tests :nth-child(An+B) matching</title>
+ <style type="text/css">
+
+ x { color:white; }
+ x { background-color:black; }
+ x { font-size:12px; }
+ x { text-decoration: underline; }
+ x { border-left-width: 1px; }
+ x { border-right-width: 1px; }
+ x { border-top-width: 1px; }
+ x { border-bottom-width: 1px; }
+ x { border-style: solid; }
+ x { border-color: blue; }
+
+ </style>
+</head>
+<body>
+
+<div><x>x</x><y>x</y><y>x</y><x>x</x><y>x</y><y>x</y><x>x</x><y>x</y><y>x</y><x>x</x><y>x</y></div>
+
+</body>
+</html>