Skip to content

Commit 90e765f

Browse files
committed
[css-shadow-parts-1] use colon as separator
1 parent d7115f4 commit 90e765f

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

css-shadow-parts-1/Overview.bs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ The exposedparts attribute is parsed as a comma-separated list of part mappings.
210210
Each part mapping is one of:
211211

212212
<dl class=switch>
213-
: <code>innerIdent outerIdent</code>
213+
: <code>innerIdent : outerIdent</code>
214214
:: this adds «[ outerIdent → innerIdent ]» to el's <a>part name map</a>.
215215

216216
: <code>ident</code>
217-
:: Is shorthand for <code>ident ident</code>.
217+
:: Is shorthand for <code>ident : ident</code>.
218218

219219
: anything else
220220
:: Ignored for error-recovery / future compat.
@@ -224,11 +224,8 @@ Note: It's okay to map a sub-part to several names.
224224

225225
Issue(w3c/csswg-drafts#2411): Decide whether we use "inner outer" or "outer inner"
226226

227-
Issue(w3c/csswg-drafts#2411): Decide whether we use a separator between inner and outer idents.
228-
E.g. "inner => outer" or "inner : outer".
229-
230-
Issue(w3c/csswg-drafts#2411): Decide whether to allow "ident1 => ident2 ident3 ..."
231-
as shorthand for "ident1 ident2, ident1 ident3, ...".
227+
Issue(w3c/csswg-drafts#2411): Decide whether to allow "ident1 : ident2 ident3 ..."
228+
as shorthand for "ident1 : ident2, ident1 : ident3, ...".
232229

233230
Issue(w3c/csswg-drafts#2411): Decide whether to allow wild-card forwarding,
234231
e.g exposedparts="button-* buttons".

0 commit comments

Comments
 (0)