Unskip shadow-part tests in wpt (#37309)

This change adds baseline expectations for
https://github.com/servo/servo/pull/37307,

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
Simon Wülker 2025-06-06 23:41:14 +02:00 committed by GitHub
parent 6cf212879c
commit 2c51d44b53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 452 additions and 2 deletions

View file

@ -92,8 +92,6 @@ skip: true
skip: true skip: true
[css-scrollbars] [css-scrollbars]
skip: true skip: true
[css-shadow-parts]
skip: true
[css-shapes] [css-shapes]
skip: true skip: true
[css-size-adjust] [css-size-adjust]

View file

@ -0,0 +1,6 @@
[all-hosts.html]
[::part with host selector styles in first host]
expected: FAIL
[::part with host selector styles in second host]
expected: FAIL

View file

@ -0,0 +1,2 @@
[animation-part.html]
expected: FAIL

View file

@ -0,0 +1,3 @@
[both-part-and-exportparts.html]
[::part() rules match elements having both @part and @exportparts]
expected: FAIL

View file

@ -0,0 +1,3 @@
[complex-matching.html]
[Complex selector for host works]
expected: FAIL

View file

@ -0,0 +1,3 @@
[double-forward.html]
[Part in inner host is forwarded through the middle host for styling by document style sheet]
expected: FAIL

View file

@ -0,0 +1,2 @@
[exportparts-different-scope.html]
expected: FAIL

View file

@ -0,0 +1,3 @@
[exportparts-multiple.html]
[Forwarding part under multiple names should work]
expected: FAIL

View file

@ -0,0 +1,12 @@
[grouping-with-checked.html]
[Styles applied to ::part(...)]
expected: FAIL
[Styles applied to ::part(...):checked]
expected: FAIL
[Styles applied via grouped selector including matched ::part(...):checked]
expected: FAIL
[Styles applied via grouped selector including unmatched ::part(...):checked]
expected: FAIL

View file

@ -0,0 +1,12 @@
[grouping-with-disabled.html]
[Styles applied to ::part(...)]
expected: FAIL
[Styles applied to ::part(...):disabled]
expected: FAIL
[Styles applied via grouped selector including matched ::part(...):disabled]
expected: FAIL
[Styles applied via grouped selector including unmatched ::part(...):disabled]
expected: FAIL

View file

@ -0,0 +1,3 @@
[host-part-001.html]
[:host::part works]
expected: FAIL

View file

@ -0,0 +1,3 @@
[host-part-002.html]
[:host::part has correct cascading behavior]
expected: FAIL

View file

@ -0,0 +1,3 @@
[host-part-nesting.html]
[:host::part works in nesting]
expected: FAIL

View file

@ -0,0 +1,12 @@
[idlharness.html]
[Element interface: attribute part]
expected: FAIL
[Element interface: element must inherit property "part" with the proper type]
expected: FAIL
[Element interface: htmlElement must inherit property "part" with the proper type]
expected: FAIL
[Element interface: svgElement must inherit property "part" with the proper type]
expected: FAIL

View file

@ -0,0 +1,3 @@
[inner-host.html]
[Part in outer host is styled by document style sheet]
expected: FAIL

View file

@ -0,0 +1,2 @@
[interaction-with-nested-pseudo-class.html]
expected: TIMEOUT

View file

@ -0,0 +1,18 @@
[interaction-with-pseudo-elements.html]
[::before in selected host is styled]
expected: FAIL
[::after in selected host is styled]
expected: FAIL
[::placeholder in selected host is styled]
expected: FAIL
[::selection in selected host is styled]
expected: FAIL
[::first-line in selected host is styled]
expected: FAIL
[::first-letter in selected host is styled]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalidation-change-exportparts-forward.html]
[Part in selected host changed color]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalidation-change-part-name-forward.html]
[Part in selected host changed color]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalidation-change-part-name-idl-domtokenlist.html]
[Part in selected host changed color via part IDL DOMTokenList attribute.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalidation-change-part-name-idl-setter.html]
[Part in selected host changed color via part IDL attribute setter.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalidation-change-part-name.html]
[Part in selected host changed color]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalidation-complex-selector-forward.html]
[Part in selected host changed color]
expected: FAIL

View file

@ -0,0 +1,3 @@
[invalidation-complex-selector.html]
[Part in selected host changed color]
expected: FAIL

View file

@ -0,0 +1,3 @@
[multiple-parts.html]
[Double-part in selected host is styled]
expected: FAIL

View file

@ -0,0 +1,27 @@
[multiple-scopes.html]
[exported part selector matches from outer scope]
expected: FAIL
[non-exported part selector does not match from outer scope]
expected: FAIL
[pseudo-element selector alone does not match from outer scope]
expected: FAIL
[exported part selector (for outer scope) does not match from middle scope]
expected: FAIL
[correct part selector matches from middle scope]
expected: FAIL
[pseudo-element selector alone does not match from middle scope]
expected: FAIL
[selector with ::part(exported name) does not match from inner scope that exports the part]
expected: FAIL
[selector with ::part(original name) does not match from inner scope that exports the part]
expected: FAIL
[pseudo-element selector alone matches from inner scope]
expected: FAIL

View file

@ -0,0 +1,3 @@
[part-mutation-pseudo.html]
[Part in selected host changed color]
expected: FAIL

View file

@ -0,0 +1,12 @@
[part-name-idl.html]
[Access to .part returns an empty DOMTokenList.]
expected: FAIL
[Multiple names give a DOMTokenList with multiple entries.]
expected: FAIL
[DOMTokenList created by access is persisted.]
expected: FAIL
[Changes in DOMTokenList are refected in attribute.]
expected: FAIL

View file

@ -0,0 +1,2 @@
[part-nested-pseudo.html]
expected: FAIL

View file

@ -0,0 +1,3 @@
[precedence-part-vs-part.html]
[Style from document overrides style from outer CE]
expected: FAIL

View file

@ -0,0 +1,141 @@
[pseudo-classes-after-part.html]
["::part(mypart):active" should be a valid selector]
expected: FAIL
["::part(mypart):active-view-transition" should be a valid selector]
expected: FAIL
["::part(mypart):active-view-transition-type(mytype)" should be a valid selector]
expected: FAIL
["::part(mypart):any-link" should be a valid selector]
expected: FAIL
["::part(mypart):autofill" should be a valid selector]
expected: FAIL
["::part(mypart):checked" should be a valid selector]
expected: FAIL
["::part(mypart):default" should be a valid selector]
expected: FAIL
["::part(mypart):defined" should be a valid selector]
expected: FAIL
["::part(mypart):dir(ltr)" should be a valid selector]
expected: FAIL
["::part(mypart):disabled" should be a valid selector]
expected: FAIL
["::part(mypart):enabled" should be a valid selector]
expected: FAIL
["::part(mypart):focus" should be a valid selector]
expected: FAIL
["::part(mypart):focus-visible" should be a valid selector]
expected: FAIL
["::part(mypart):focus-within" should be a valid selector]
expected: FAIL
["::part(mypart):fullscreen" should be a valid selector]
expected: FAIL
["::part(mypart):future" should be a valid selector]
expected: FAIL
["::part(mypart):hover" should be a valid selector]
expected: FAIL
["::part(mypart):indeterminate" should be a valid selector]
expected: FAIL
["::part(mypart):in-range" should be a valid selector]
expected: FAIL
["::part(mypart):invalid" should be a valid selector]
expected: FAIL
["::part(mypart):lang(en)" should be a valid selector]
expected: FAIL
["::part(mypart):link" should be a valid selector]
expected: FAIL
["::part(mypart):modal" should be a valid selector]
expected: FAIL
["::part(mypart):open" should be a valid selector]
expected: FAIL
["::part(mypart):optional" should be a valid selector]
expected: FAIL
["::part(mypart):out-of-range" should be a valid selector]
expected: FAIL
["::part(mypart):past" should be a valid selector]
expected: FAIL
["::part(mypart):paused" should be a valid selector]
expected: FAIL
["::part(mypart):picture-in-picture" should be a valid selector]
expected: FAIL
["::part(mypart):placeholder-shown" should be a valid selector]
expected: FAIL
["::part(mypart):playing" should be a valid selector]
expected: FAIL
["::part(mypart):popover-open" should be a valid selector]
expected: FAIL
["::part(mypart):read-only" should be a valid selector]
expected: FAIL
["::part(mypart):read-write" should be a valid selector]
expected: FAIL
["::part(mypart):required" should be a valid selector]
expected: FAIL
["::part(mypart):state(mystate)" should be a valid selector]
expected: FAIL
["::part(mypart):target" should be a valid selector]
expected: FAIL
["::part(mypart):user-invalid" should be a valid selector]
expected: FAIL
["::part(mypart):user-valid" should be a valid selector]
expected: FAIL
["::part(mypart):valid" should be a valid selector]
expected: FAIL
["::part(mypart):visited" should be a valid selector]
expected: FAIL
["::part(mypart):xr-overlay" should be a valid selector]
expected: FAIL
["::part(mypart):not(:hover)" should be a valid selector]
expected: FAIL
["::part(mypart):is(:hover)" should be a valid selector]
expected: FAIL
["::part(mypart):where(:hover)" should be a valid selector]
expected: FAIL
["::part(mypart):is(:first-child)" should be a valid selector]
expected: FAIL
["::part(mypart):where(:first-child)" should be a valid selector]
expected: FAIL

View file

@ -0,0 +1,126 @@
[pseudo-elements-after-part.html]
["::part(mypart)::after" should be a valid selector]
expected: FAIL
["::part(mypart)::backdrop" should be a valid selector]
expected: FAIL
["::part(mypart)::before" should be a valid selector]
expected: FAIL
["::part(mypart)::cue" should be a valid selector]
expected: FAIL
["::part(mypart)::details-content" should be a valid selector]
expected: FAIL
["::part(mypart)::file-selector-button" should be a valid selector]
expected: FAIL
["::part(mypart)::first-letter" should be a valid selector]
expected: FAIL
["::part(mypart)::first-line" should be a valid selector]
expected: FAIL
["::part(mypart)::grammar-error" should be a valid selector]
expected: FAIL
["::part(mypart)::highlight(myhighlight)" should be a valid selector]
expected: FAIL
["::part(mypart)::marker" should be a valid selector]
expected: FAIL
["::part(mypart)::placeholder" should be a valid selector]
expected: FAIL
["::part(mypart)::search-text" should be a valid selector]
expected: FAIL
["::part(mypart)::selection" should be a valid selector]
expected: FAIL
["::part(mypart)::spelling-error" should be a valid selector]
expected: FAIL
["::part(mypart)::target-text" should be a valid selector]
expected: FAIL
["::part(mypart)::view-transition" should be a valid selector]
expected: FAIL
["::part(mypart)::view-transition-group(*)" should be a valid selector]
expected: FAIL
["::part(mypart)::view-transition-image-pair(*)" should be a valid selector]
expected: FAIL
["::part(mypart)::view-transition-new(*)" should be a valid selector]
expected: FAIL
["::part(mypart)::view-transition-old(*)" should be a valid selector]
expected: FAIL
[computed style for ::part()::after]
expected: FAIL
[computed style for ::part()::backdrop]
expected: FAIL
[computed style for ::part()::before]
expected: FAIL
[computed style for ::part()::details-content]
expected: FAIL
[computed style for ::part()::file-selector-button]
expected: FAIL
[computed style for ::part()::first-letter]
expected: FAIL
[computed style for ::part()::first-line]
expected: FAIL
[computed style for ::part()::grammar-error]
expected: FAIL
[computed style for ::part()::highlight(myhighlight)]
expected: FAIL
[computed style for ::part()::placeholder]
expected: FAIL
[computed style for ::part()::search-text]
expected: FAIL
[computed style for ::part()::selection]
expected: FAIL
[computed style for ::part()::spelling-error]
expected: FAIL
[computed style for ::part()::target-text]
expected: FAIL
[::part styles with ::part(mypart)::after {\n display: block;\n content: "";\n height: 77px;\n } and <div part='mypart'></div>]
expected: FAIL
[::part styles with ::part(mypart)::before {\n display: block;\n content: "";\n height: 46px;\n } and <div part='mypart'></div>]
expected: FAIL
[::part styles with ::part(mypart)::details-content {\n height: 371px;\n } and <details part='mypart'><summary style="height:47px">summary</summary>details</details>]
expected: FAIL
[::part styles with ::part(mypart)::file-selector-button {\n height: 94px;\n padding: 0;\n margin: 0;\n border: none;\n appearance: none;\n } and <input type=file part=mypart>]
expected: FAIL
[::part styles with ::part(mypart) {\n font: 20px/1 Ahem;\n }\n ::part(mypart)::first-letter {\n font-size: 86px;\n } and <div part=mypart>X<br>X</div>]
expected: FAIL
[::part styles with ::part(mypart) {\n font: 20px/1 Ahem;\n }\n ::part(mypart)::first-line {\n font-size: 86px;\n } and <div part=mypart>X<br>X</div>]
expected: FAIL
[::part styles with ::part(mypart)::marker {\n font: 63px/1.0 Ahem;\n content: "X";\n } and <li style="list-style-position: inside" part="mypart"></li>]
expected: FAIL

View file

@ -0,0 +1,9 @@
[serialization.html]
[Escape start parenthesis in ::part name.]
expected: FAIL
[Escape start space in ::part name.]
expected: FAIL
[Collapse spaces in ::part names list.]
expected: FAIL

View file

@ -0,0 +1,3 @@
[simple-forward-shorthand.html]
[Part in inner host is forwarded, under the same name, for styling by document style sheet]
expected: FAIL

View file

@ -0,0 +1,3 @@
[simple-forward.html]
[Part in inner host is forwarded for styling by document style sheet]
expected: FAIL

View file

@ -0,0 +1,3 @@
[simple-inline.html]
[Part in selected host is styled]
expected: FAIL

View file

@ -0,0 +1,3 @@
[simple.html]
[Part in selected host is styled]
expected: FAIL

View file

@ -0,0 +1,3 @@
[style-sharing.html]
[Part in selected host does not incorrectly share style with non-part]
expected: FAIL