diff --git a/Base/res/html/misc/nth-child.html b/Base/res/html/misc/nth-child.html new file mode 100644 index 0000000000..c5e6492dcb --- /dev/null +++ b/Base/res/html/misc/nth-child.html @@ -0,0 +1,140 @@ + + + + :nth-child test + + + +

:nth-child(odd)

+
+
1 +
+
2
+
3 +
+
4
+
+ +

:nth-child(2n+1) - same as odd

+
+
1 +
+
2
+
3 +
+
4
+
+ +

:nth-child(even)

+
+
1
+
2 +
+
3
+
4 +
+
+ +

:nth-child(2n) - same as even

+
+
1
+
2 +
+
3
+
4 +
+
+ +

:nth-child(2)

+
+
1
+
2 +
+
3
+
+ +

:nth-child(3n)

+
+
1
+
2
+
3 +
+
4
+
5
+
6 +
+
+ +

:nth-child(3n+1)

+
+
1 +
+
2
+
3
+
4 +
+
5
+
6
+
+ +

:nth-child(3n-1)

+
+
1
+
2 +
+
3
+
4
+
5 +
+
6
+
+ +

:nth-child(-n+3)

+
+
1 +
+
2 +
+
3 +
+
4
+
+ +

:nth-child(n)

+
+
1 +
+
2 +
+
3 +
+
+ +

:nth-child(-n) - same as n

+
+
1 +
+
2 +
+
3 +
+
+ +

:nth-child(+n) - same as n

+
+
1 +
+
2 +
+
3 +
+
+ +

:nth-child(0n+1)

+
+
1 +
+
2
+
3
+
+ +

:nth-child(n+2):nth-child(-n+4)

+
+
1
+
2 +
+
3 +
+
4 +
+
5
+
+ + diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index e3d3a1d939..4a6d107269 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -91,6 +91,7 @@ span#loadtime {
  • :first-child
  • :last-child
  • :only-child
  • +
  • :nth-child
  • :empty
  • :root
  • form