@@ -121,7 +121,7 @@ as authors can use ''::part()'' without fear of accidental over-styling.
121
121
Exposing a Shadow Element: {#exposing}
122
122
=============================================================
123
123
Elements in a <a>shadow tree</a> may be exported for styling by stylesheets outside the tree
124
- using the part and exportedparts attributes.
124
+ using the part and exportparts attributes.
125
125
126
126
Each element has a <dfn export for="element">part name list</dfn>
127
127
which is an [=ordered set=] of tokens.
@@ -197,16 +197,16 @@ not an id or tagname.
197
197
</script>
198
198
</pre>
199
199
200
- Forwarding a Shadow Element: the <{html-global/exportedparts }> attribute {#exportedparts -attr}
200
+ Forwarding a Shadow Element: the <{html-global/exportparts }> attribute {#exportparts -attr}
201
201
----------------------------------------------------------------------------------
202
- Any element in a shadow tree can have a <dfn element-attr for=html-global>exportedparts </dfn> attribute.
202
+ Any element in a shadow tree can have a <dfn element-attr for=html-global>exportparts </dfn> attribute.
203
203
If the element is a shadow host,
204
204
this is used to allow styling of parts from hosts inside the <a>shadow tree</a>
205
205
by rules outside this the <a>shadow tree</a>
206
206
(as if they were elements in the same tree as the host,
207
207
named by a part attribute).
208
208
209
- The exportedparts attribute is parsed as a comma-separated list of part mappings.
209
+ The exportparts attribute is parsed as a comma-separated list of part mappings.
210
210
Each part mapping is one of:
211
211
212
212
<dl class=switch>
@@ -222,13 +222,11 @@ Each part mapping is one of:
222
222
223
223
Note: It's okay to map a sub-part to several names.
224
224
225
- Issue(w3c/csswg-drafts#2411): Decide whether we use "inner outer" or "outer inner"
226
-
227
225
Issue(w3c/csswg-drafts#2411): Decide whether to allow "ident1 : ident2 ident3 ..."
228
226
as shorthand for "ident1 : ident2, ident1 : ident3, ...".
229
227
230
228
Issue(w3c/csswg-drafts#2411): Decide whether to allow wild-card forwarding,
231
- e.g exportedparts ="button-* buttons".
229
+ e.g exportparts ="button-* buttons".
232
230
Consider excluding sub-parts that have been explicitly forwarded.
233
231
Consider a mechanism to exclude sub-parts without forwarding them.
234
232
@@ -238,7 +236,7 @@ Consider a mechanism to exclude sub-parts without forwarding them.
238
236
</style>
239
237
240
238
<template id="c-e-outer-template">
241
- <c-e-inner <b> exportedparts ="innerspan textspan"</b> ></c-e-inner>
239
+ <c-e-inner <b> exportparts ="innerspan textspan"</b> ></c-e-inner>
242
240
</template>
243
241
244
242
<template id="c-e-inner-template">
@@ -368,11 +366,11 @@ Extensions to the {{Element}} Interface {#idl}
368
366
<pre class=idl>
369
367
partial interface Element {
370
368
attribute DOMString part;
371
- attribute DOMString exportedParts ;
369
+ attribute DOMString exportparts ;
372
370
};
373
371
</pre>
374
372
375
- The `exportedParts ` attribute must reflect the `exportedparts ` content attribute.
373
+ The `exportparts ` attribute must reflect the `exportparts ` content attribute.
376
374
377
375
The `part` attribute must reflect the `part` content attribute.
378
376
0 commit comments