From 0e4c35b4b22fce5b045a903d77ff5d4a18b320ab Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Thu, 17 Mar 2022 17:48:53 +0000 Subject: [PATCH] Base: Add `of foo` tests to nth-child and nth-last-child test pages Also split the selector-list up for easier debugging. --- Base/res/html/misc/nth-child.html | 74 +++++++++++++++++++----- Base/res/html/misc/nth-last-child.html | 79 +++++++++++++++++++++----- 2 files changed, 123 insertions(+), 30 deletions(-) diff --git a/Base/res/html/misc/nth-child.html b/Base/res/html/misc/nth-child.html index ed1051700b..5413202a09 100644 --- a/Base/res/html/misc/nth-child.html +++ b/Base/res/html/misc/nth-child.html @@ -4,23 +4,57 @@ :nth-child test @@ -142,7 +176,7 @@
1
2
-
3+
+
3 +
4
5
6
@@ -156,5 +190,15 @@
14
15
+ +

:nth-child(3n+1 of .special)

+
+
1 +
+
2
+
(Ignored)
+
3
+
(Ignored)
+
4 +
+
diff --git a/Base/res/html/misc/nth-last-child.html b/Base/res/html/misc/nth-last-child.html index 6c514a0a18..96dec13511 100644 --- a/Base/res/html/misc/nth-last-child.html +++ b/Base/res/html/misc/nth-last-child.html @@ -4,23 +4,58 @@ :nth-last-child test @@ -152,9 +187,23 @@
10
11
12
-
13+
+
13 +
14
15
+ +

:nth-last-child(3n+1 of .special)

+
+
1
+
2
+
(Ignored)
+
3 +
+
(Ignored)
+
4
+
(Ignored)
+
(Ignored)
+
5
+
6 +
+