Skip to content

Commit efe81b6

Browse files
committed
[css-shadow-parts-1] exposedparts -> exportedparts
1 parent 990bf12 commit efe81b6

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

css-shadow-parts-1/Overview.bs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ as authors can use ''::part()'' without fear of accidental over-styling.
120120

121121
Exposing a Shadow Element: {#exposing}
122122
=============================================================
123-
Elements in a <a>shadow tree</a> may be exposed for styling by stylesheets outside the tree
124-
using the part and exposedparts attributes.
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.
125125

126126
Each element has a <dfn export for="element">part name list</dfn>
127127
which is an [=ordered set=] of tokens.
@@ -197,16 +197,16 @@ not an id or tagname.
197197
&lt;/script&gt;
198198
</pre>
199199

200-
Forwarding a Shadow Element: the <{html-global/exposedparts}> attribute {#exposedparts-attr}
200+
Forwarding a Shadow Element: the <{html-global/exportedparts}> attribute {#exportedparts-attr}
201201
----------------------------------------------------------------------------------
202-
Any element in a shadow tree can have a <dfn element-attr for=html-global>exposedparts</dfn> attribute.
202+
Any element in a shadow tree can have a <dfn element-attr for=html-global>exportedparts</dfn> attribute.
203203
If the element is a shadow host,
204204
this is used to allow styling of parts from hosts inside the <a>shadow tree</a>
205205
by rules outside this the <a>shadow tree</a>
206206
(as if they were elements in the same tree as the host,
207207
named by a part attribute).
208208

209-
The exposedparts attribute is parsed as a comma-separated list of part mappings.
209+
The exportedparts attribute is parsed as a comma-separated list of part mappings.
210210
Each part mapping is one of:
211211

212212
<dl class=switch>
@@ -228,7 +228,7 @@ Issue(w3c/csswg-drafts#2411): Decide whether to allow "ident1 : ident2 ident3 ..
228228
as shorthand for "ident1 : ident2, ident1 : ident3, ...".
229229

230230
Issue(w3c/csswg-drafts#2411): Decide whether to allow wild-card forwarding,
231-
e.g exposedparts="button-* buttons".
231+
e.g exportedparts="button-* buttons".
232232
Consider excluding sub-parts that have been explicitly forwarded.
233233
Consider a mechanism to exclude sub-parts without forwarding them.
234234

@@ -238,7 +238,7 @@ Consider a mechanism to exclude sub-parts without forwarding them.
238238
&lt;/style&gt;
239239

240240
&lt;template id="c-e-outer-template"&gt;
241-
&lt;c-e-inner <b>exposedparts="innerspan textspan"</b>&gt;&lt;/c-e-inner&gt;
241+
&lt;c-e-inner <b>exportedparts="innerspan textspan"</b>&gt;&lt;/c-e-inner&gt;
242242
&lt;/template&gt;
243243

244244
&lt;template id="c-e-inner-template"&gt;
@@ -368,11 +368,11 @@ Extensions to the {{Element}} Interface {#idl}
368368
<pre class=idl>
369369
partial interface Element {
370370
attribute DOMString part;
371-
attribute DOMString exposedParts;
371+
attribute DOMString exportedParts;
372372
};
373373
</pre>
374374

375-
The `exposedParts` attribute must reflect the `exposedparts` content attribute.
375+
The `exportedParts` attribute must reflect the `exportedparts` content attribute.
376376

377377
The `part` attribute must reflect the `part` content attribute.
378378

0 commit comments

Comments
 (0)