Skip to content

Commit 93da525

Browse files
committed
[css-shadow-parts-1][editorial] Added WPTs
1 parent 856bb2f commit 93da525

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

css-shadow-parts-1/Overview.bs

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ TR: https://www.w3.org/TR/css-shadow-parts-1/
1010
Editor: Tab Atkins-Bittner, Google, http://xanthir.com/contact/, w3cid 42199
1111
Editor: Fergal Daly, Google, fergal@chromium.org
1212
Abstract: This specification defines the ''::part()'' pseudo-element on <a>shadow hosts</a>, allowing <a>shadow hosts</a> to selectively expose chosen elements from their <a>shadow tree</a> to the outside page for styling purposes.
13+
WPT Path Prefix: css/css-shadow-parts/
14+
WPT Display: open
1315
</pre>
1416

1517
<pre class=link-defaults>
@@ -47,6 +49,43 @@ to interact in safe, powerful ways,
4749
maintaining encapsulation
4850
without surrendering all control.
4951

52+
<wpt title="General tests for shadow parts">
53+
all-hosts.html
54+
animation-part.html
55+
chaining-invalid-selector.html
56+
complex-matching.html
57+
complex-non-matching.html
58+
different-host.html
59+
double-forward.html
60+
grouping-with-checked.html
61+
grouping-with-disabled.html
62+
host-stylesheet.html
63+
inner-host.html
64+
interaction-with-nested-pseudo-class.html
65+
interaction-with-placeholder.html
66+
interaction-with-pseudo-elements.html
67+
invalidation-complex-selector-forward.html
68+
invalidation-complex-selector.html
69+
invalidation-part-pseudo.html
70+
multiple-parts.html
71+
part-after-combinator-invalidation.html
72+
part-mutation-pseudo.html
73+
part-nested-pseudo.html
74+
precedence-part-vs-part.html
75+
pseudo-classes-after-part.html
76+
pseudo-elements-after-part.html
77+
serialization.html
78+
simple-forward-shorthand.html
79+
simple-forward.html
80+
simple-important.html
81+
simple-important-important.html
82+
simple-important-inline.html
83+
simple.html
84+
simple-important.html
85+
simple-inline.html
86+
style-sharing.html
87+
</wpt>
88+
5089
Motivation {#motivation}
5190
------------------------
5291

@@ -180,6 +219,11 @@ Naming a Shadow Element: the <{html-global/part}> attribute {#part-attr}
180219
Any element in a shadow tree can have a <dfn element-attr for=html-global>part</dfn> attribute.
181220
This is used to expose the element outside of the <a>shadow tree</a>.
182221

222+
<wpt>
223+
invalidation-change-part-name-forward.html
224+
invalidation-change-part-name.html
225+
</wpt>
226+
183227
The part attribute is parsed as a space-separated list of tokens representing the part names of this element.
184228

185229
Note: It's okay to give a part multiple names.
@@ -220,6 +264,14 @@ by rules outside this the <a>shadow tree</a>
220264
(as if they were elements in the same tree as the host,
221265
named by a part attribute).
222266

267+
<wpt>
268+
both-part-and-exportparts.html
269+
exportparts-different-scope.html
270+
exportparts-layered.html
271+
exportparts-multiple.html
272+
invalidation-change-exportparts-forward.html
273+
</wpt>
274+
223275
The exportparts attribute is parsed as a comma-separated list of part mappings.
224276
Each part mapping is one of:
225277

@@ -316,6 +368,14 @@ The syntax is:
316368
::part() = ::part( <<ident>>+ )
317369
</pre>
318370

371+
<wpt>
372+
host-part-001.html
373+
host-part-002.html
374+
host-part-003.html
375+
host-part-nesting.html
376+
multiple-scopes.html
377+
</wpt>
378+
319379
The ''::part()'' pseudo-element only matches anything
320380
when the <a>originating element</a> is a <a>shadow host</a>.
321381

@@ -391,6 +451,13 @@ partial interface Element {
391451
};
392452
</pre>
393453

454+
<wpt>
455+
idlharness.html
456+
invalidation-change-part-name-idl-domtokenlist.html
457+
invalidation-change-part-name-idl-setter.html
458+
part-name-idl.html
459+
</wpt>
460+
394461
The part attribute’s getter must return a DOMTokenList object
395462
whose associated element is the context object
396463
and whose associated attribute’s local name is part.
@@ -483,4 +550,5 @@ First Public Working Draft</a> of 15 November 2018
483550
* Renamed 'part name map' to [=forwarded part name list=]
484551
* Restructured 'part element list' algorithm
485552
* Moved various ''::part()'' details to [=fully styleable pseudo-element=]
553+
* Added Web Platform Tests coverage
486554
* Minor editorial improvements

0 commit comments

Comments
 (0)