diff --git a/css/css-scoping/has-slotted-001.tentative.html b/css/css-scoping/has-slotted-001.tentative.html index 9a9563287631b6..e750d97a180b5d 100644 --- a/css/css-scoping/has-slotted-001.tentative.html +++ b/css/css-scoping/has-slotted-001.tentative.html @@ -1,6 +1,6 @@ -:has-slotted(*) +:has-slotted

Test passes if there is a filled green square.

@@ -13,11 +13,10 @@ height: 100px; background-color: red; } - :has-slotted(*) { + :has-slotted { background-color: green; } -
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-002.tentative.html b/css/css-scoping/has-slotted-002.tentative.html index 40b4edb3841684..729f105719b98a 100644 --- a/css/css-scoping/has-slotted-002.tentative.html +++ b/css/css-scoping/has-slotted-002.tentative.html @@ -1,6 +1,6 @@ -:has-slotted(...) negative test: no children or white space +:has-slotted negative test: no children or white space

Test passes if there is a filled green square.

@@ -12,7 +12,6 @@ height: 100px; background-color: green; } - :has-slotted(*), :has-slotted { background-color: red; } diff --git a/css/css-scoping/has-slotted-003.tentative.html b/css/css-scoping/has-slotted-003.tentative.html index 9565b1594c3ed7..7578413ff39770 100644 --- a/css/css-scoping/has-slotted-003.tentative.html +++ b/css/css-scoping/has-slotted-003.tentative.html @@ -1,22 +1,23 @@ -:has-slotted(...) negative test: no children, but whitespace present +:has-slotted

Test passes if there is a filled green square.

+
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-changing-001.tentative.html b/css/css-scoping/has-slotted-changing-001.tentative.html new file mode 100644 index 00000000000000..f4c99cdb5dcc2c --- /dev/null +++ b/css/css-scoping/has-slotted-changing-001.tentative.html @@ -0,0 +1,59 @@ + + + + + + Changing content targetting :has-slotted through a single shadow root + + + + + + + + + + +
+ + + + + diff --git a/css/css-scoping/has-slotted-changing-002.tentative.html b/css/css-scoping/has-slotted-changing-002.tentative.html new file mode 100644 index 00000000000000..98ad6019ab021d --- /dev/null +++ b/css/css-scoping/has-slotted-changing-002.tentative.html @@ -0,0 +1,60 @@ + + + + + + Changing content targetting :has-slotted through multiple shadow roots + + + + + + + + + + +
+ + + + + + diff --git a/css/css-scoping/has-slotted-flattened-001.tentative.html b/css/css-scoping/has-slotted-flattened-001.tentative.html index f14bdbc776d639..0235f99e21f1c9 100644 --- a/css/css-scoping/has-slotted-flattened-001.tentative.html +++ b/css/css-scoping/has-slotted-flattened-001.tentative.html @@ -1,28 +1,24 @@ -:has-slotted(*) flattened through multiple slots +:has-slotted flattened through multiple slots

Test passes if there is a filled green square.

-
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-flattened-002.tentative.html b/css/css-scoping/has-slotted-flattened-002.tentative.html index f72ff1de5aa298..bc14cad643ddd7 100644 --- a/css/css-scoping/has-slotted-flattened-002.tentative.html +++ b/css/css-scoping/has-slotted-flattened-002.tentative.html @@ -1,6 +1,6 @@ -:has-slotted(...) negative test: no children or white space +:has-slotted negative test: no children or white space

Test passes if there is a filled green square.

@@ -13,7 +13,6 @@ height: 100px; background-color: green; } - :has-slotted(*), :has-slotted { background-color: red; } diff --git a/css/css-scoping/has-slotted-flattened-003.tentative.html b/css/css-scoping/has-slotted-flattened-003.tentative.html index bca81b971de20d..5f007fbd1b0fb4 100644 --- a/css/css-scoping/has-slotted-flattened-003.tentative.html +++ b/css/css-scoping/has-slotted-flattened-003.tentative.html @@ -1,27 +1,25 @@ -:has-slotted(...) flattened through multiple slots, negative test: no children, but whitespace present +:has-slotted flattened through multiple slots

Test passes if there is a filled green square.

+
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-flattened-007.tentative.html b/css/css-scoping/has-slotted-flattened-007.tentative.html deleted file mode 100644 index 0235f99e21f1c9..00000000000000 --- a/css/css-scoping/has-slotted-flattened-007.tentative.html +++ /dev/null @@ -1,24 +0,0 @@ - - -:has-slotted flattened through multiple slots - - -

Test passes if there is a filled green square.

-
- -
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-007.tentative.html b/css/css-scoping/has-slotted-functional-001.tentative.html similarity index 88% rename from css/css-scoping/has-slotted-007.tentative.html rename to css/css-scoping/has-slotted-functional-001.tentative.html index e750d97a180b5d..9a9563287631b6 100644 --- a/css/css-scoping/has-slotted-007.tentative.html +++ b/css/css-scoping/has-slotted-functional-001.tentative.html @@ -1,6 +1,6 @@ -:has-slotted +:has-slotted(*)

Test passes if there is a filled green square.

@@ -13,10 +13,11 @@ height: 100px; background-color: red; } - :has-slotted { + :has-slotted(*) { background-color: green; } +
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-functional-002.tentative.html b/css/css-scoping/has-slotted-functional-002.tentative.html new file mode 100644 index 00000000000000..a67f788f785633 --- /dev/null +++ b/css/css-scoping/has-slotted-functional-002.tentative.html @@ -0,0 +1,20 @@ + + +:has-slotted(...) negative test: no children or white space + + +

Test passes if there is a filled green square.

+
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-functional-003.tentative.html b/css/css-scoping/has-slotted-functional-003.tentative.html new file mode 100644 index 00000000000000..9565b1594c3ed7 --- /dev/null +++ b/css/css-scoping/has-slotted-functional-003.tentative.html @@ -0,0 +1,22 @@ + + +:has-slotted(...) negative test: no children, but whitespace present + + +

Test passes if there is a filled green square.

+
+ +
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-004.tentative.html b/css/css-scoping/has-slotted-functional-004.tentative.html similarity index 100% rename from css/css-scoping/has-slotted-004.tentative.html rename to css/css-scoping/has-slotted-functional-004.tentative.html diff --git a/css/css-scoping/has-slotted-005.tentative.html b/css/css-scoping/has-slotted-functional-005.tentative.html similarity index 100% rename from css/css-scoping/has-slotted-005.tentative.html rename to css/css-scoping/has-slotted-functional-005.tentative.html diff --git a/css/css-scoping/has-slotted-006.tentative.html b/css/css-scoping/has-slotted-functional-006.tentative.html similarity index 100% rename from css/css-scoping/has-slotted-006.tentative.html rename to css/css-scoping/has-slotted-functional-006.tentative.html diff --git a/css/css-scoping/has-slotted-functional-007.tentative.html b/css/css-scoping/has-slotted-functional-007.tentative.html new file mode 100644 index 00000000000000..d7e015056300ca --- /dev/null +++ b/css/css-scoping/has-slotted-functional-007.tentative.html @@ -0,0 +1,25 @@ + + +:has-slotted(el + el) + + +

Test passes if there is a filled green square.

+
+ +
+
+
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-functional-changing-001.tentative.html b/css/css-scoping/has-slotted-functional-changing-001.tentative.html new file mode 100644 index 00000000000000..209a47298e3554 --- /dev/null +++ b/css/css-scoping/has-slotted-functional-changing-001.tentative.html @@ -0,0 +1,63 @@ + + + + + + Changing content targetting :has-slotted(...) and :has-slotted through a single shadow root + + + + + + + + + + +
+ + + + + diff --git a/css/css-scoping/has-slotted-functional-changing-002.tentative.html b/css/css-scoping/has-slotted-functional-changing-002.tentative.html new file mode 100644 index 00000000000000..36fafcb1dcc49b --- /dev/null +++ b/css/css-scoping/has-slotted-functional-changing-002.tentative.html @@ -0,0 +1,65 @@ + + + + + + Changing content targetting :has-slotted(...) through a single shadow root + + + + + + + + + + +
+ +
+ + + + + diff --git a/css/css-scoping/has-slotted-functional-changing-003.tentative.html b/css/css-scoping/has-slotted-functional-changing-003.tentative.html new file mode 100644 index 00000000000000..9914e452088066 --- /dev/null +++ b/css/css-scoping/has-slotted-functional-changing-003.tentative.html @@ -0,0 +1,64 @@ + + + + + + Changing content targetting :has-slotted(...) and :has-slotted through multiple shadow roots + + + + + + + + + + +
+ + + + + + diff --git a/css/css-scoping/has-slotted-functional-changing-004.tentative.html b/css/css-scoping/has-slotted-functional-changing-004.tentative.html new file mode 100644 index 00000000000000..669162050aab4e --- /dev/null +++ b/css/css-scoping/has-slotted-functional-changing-004.tentative.html @@ -0,0 +1,71 @@ + + + + + + Changing content targetting :has-slotted(...) through a single shadow root + + + + + + + + + + + +
+ +
+ + + + + + diff --git a/css/css-scoping/has-slotted-functional-flattened-001.tentative.html b/css/css-scoping/has-slotted-functional-flattened-001.tentative.html new file mode 100644 index 00000000000000..f14bdbc776d639 --- /dev/null +++ b/css/css-scoping/has-slotted-functional-flattened-001.tentative.html @@ -0,0 +1,28 @@ + + +:has-slotted(*) flattened through multiple slots + + +

Test passes if there is a filled green square.

+
+ +
+
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-functional-flattened-002.tentative.html b/css/css-scoping/has-slotted-functional-flattened-002.tentative.html new file mode 100644 index 00000000000000..ff13ac70963c4f --- /dev/null +++ b/css/css-scoping/has-slotted-functional-flattened-002.tentative.html @@ -0,0 +1,22 @@ + + +:has-slotted(...) negative test: no children or white space + + +

Test passes if there is a filled green square.

+
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-functional-flattened-003.tentative.html b/css/css-scoping/has-slotted-functional-flattened-003.tentative.html new file mode 100644 index 00000000000000..bca81b971de20d --- /dev/null +++ b/css/css-scoping/has-slotted-functional-flattened-003.tentative.html @@ -0,0 +1,27 @@ + + +:has-slotted(...) flattened through multiple slots, negative test: no children, but whitespace present + + +

Test passes if there is a filled green square.

+
+ +
\ No newline at end of file diff --git a/css/css-scoping/has-slotted-flattened-004.tentative.html b/css/css-scoping/has-slotted-functional-flattened-004.tentative.html similarity index 100% rename from css/css-scoping/has-slotted-flattened-004.tentative.html rename to css/css-scoping/has-slotted-functional-flattened-004.tentative.html diff --git a/css/css-scoping/has-slotted-flattened-005.tentative.html b/css/css-scoping/has-slotted-functional-flattened-005.tentative.html similarity index 100% rename from css/css-scoping/has-slotted-flattened-005.tentative.html rename to css/css-scoping/has-slotted-functional-flattened-005.tentative.html diff --git a/css/css-scoping/has-slotted-flattened-006.tentative.html b/css/css-scoping/has-slotted-functional-flattened-006.tentative.html similarity index 80% rename from css/css-scoping/has-slotted-flattened-006.tentative.html rename to css/css-scoping/has-slotted-functional-flattened-006.tentative.html index cfe415c7948cbd..fd3dda69bc8a70 100644 --- a/css/css-scoping/has-slotted-flattened-006.tentative.html +++ b/css/css-scoping/has-slotted-functional-flattened-006.tentative.html @@ -10,13 +10,13 @@