@@ -121,7 +121,7 @@ as authors can use ''::part()'' without fear of accidental over-styling.
121121Exposing a Shadow Element: {#exposing}
122122=============================================================
123123Elements 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.
125125
126126Each element has a <dfn export for="element">part name list</dfn>
127127which is an [=ordered set=] of tokens.
@@ -197,16 +197,16 @@ not an id or tagname.
197197</script>
198198</pre>
199199
200- Forwarding a Shadow Element: the <{html-global/exportedparts }> attribute {#exportedparts -attr}
200+ Forwarding a Shadow Element: the <{html-global/exportparts }> attribute {#exportparts -attr}
201201----------------------------------------------------------------------------------
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.
203203If the element is a shadow host,
204204this is used to allow styling of parts from hosts inside the <a>shadow tree</a>
205205by rules outside this the <a>shadow tree</a>
206206(as if they were elements in the same tree as the host,
207207named by a part attribute).
208208
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.
210210Each part mapping is one of:
211211
212212<dl class=switch>
@@ -222,13 +222,11 @@ Each part mapping is one of:
222222
223223Note: It's okay to map a sub-part to several names.
224224
225- Issue(w3c/csswg-drafts#2411): Decide whether we use "inner outer" or "outer inner"
226-
227225Issue(w3c/csswg-drafts#2411): Decide whether to allow "ident1 : ident2 ident3 ..."
228226as shorthand for "ident1 : ident2, ident1 : ident3, ...".
229227
230228Issue(w3c/csswg-drafts#2411): Decide whether to allow wild-card forwarding,
231- e.g exportedparts ="button-* buttons".
229+ e.g exportparts ="button-* buttons".
232230Consider excluding sub-parts that have been explicitly forwarded.
233231Consider a mechanism to exclude sub-parts without forwarding them.
234232
@@ -238,7 +236,7 @@ Consider a mechanism to exclude sub-parts without forwarding them.
238236</style>
239237
240238<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>
242240</template>
243241
244242<template id="c-e-inner-template">
@@ -368,11 +366,11 @@ Extensions to the {{Element}} Interface {#idl}
368366<pre class=idl>
369367partial interface Element {
370368 attribute DOMString part;
371- attribute DOMString exportedParts ;
369+ attribute DOMString exportparts ;
372370};
373371</pre>
374372
375- The `exportedParts ` attribute must reflect the `exportedparts ` content attribute.
373+ The `exportparts ` attribute must reflect the `exportparts ` content attribute.
376374
377375The `part` attribute must reflect the `part` content attribute.
378376
0 commit comments