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.html23
1 files changed, 23 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 0000000000..04270e909d
--- /dev/null
+++ b/layout/reftests/css-selectors/nth-child-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML>
+<html><head>
+ <meta charset="utf-8">
+ <title>Tests :nth-child(An+B) matching</title>
+ <style type="text/css">
+
+ 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; 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>