Skip to content

Commit 5071749

Browse files
committed
[css-shadow-parts-1] Clean up issues and link to github
1 parent 399a873 commit 5071749

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

css-shadow-parts-1/Overview.bs

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ spec:infra;
2424
Introduction {#intro}
2525
=====================
2626

27-
Issue: This spec is intentionally a rough sketch at the moment.
28-
It should contain all the details necessary to evaluate the proposal.
29-
3027
Shadow DOM allows authors to separate their page into "components",
3128
subtrees of markup whose details are only relevant to the component itself,
3229
not the outside page.
@@ -171,10 +168,6 @@ To calculate the part element map of a shadow root, |outerRoot|:
171168
</ol>
172169

173170

174-
Issue: Include wild-card forwarding in algortihm.
175-
176-
Issue: When doing prefixed-wildcard forwarding, should probably automatically exclude sub-parts that are manually forwarded. With that, would be good to have a syntax to block forwarding of a sub-part (currently would require `foo => nonsense-name`).
177-
178171
Issue: There is no need for the part element map values to be ordered, can we drop that?
179172

180173
Naming a Shadow Element: the <{html-global/part}> attribute {#part-attr}
@@ -229,10 +222,18 @@ Each part mapping is one of:
229222

230223
Note: It's okay to map a sub-part to several names.
231224

232-
Issue: Decide whether we use "outer => inner" or vice-versa.
225+
Issue(w3c/csswg-drafts#2411): Decide whether we use "inner outer" or "outer inner"
233226

234-
Issue: Decide whether to allow "ident1 => ident2 ident3 ..."
235-
as shorthand for "ident1 => ident2, ident1 => ident3, ...".
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, ...".
232+
233+
Issue(w3c/csswg-drafts#2411): Decide whether to allow wild-card forwarding,
234+
e.g partmap="button-* buttons".
235+
Consider excluding sub-parts that have been explicitly forwarded.
236+
Consider a mechanism to exclude sub-parts without forwarding them.
236237

237238
<pre class="example">
238239
&lt;style&gt;
@@ -266,6 +267,9 @@ as shorthand for "ident1 => ident2, ident1 => ident3, ...".
266267
Exposing More Widely: the <{html-global/theme}> attribute {#theme-attr}
267268
-----------------------------------------------------------------------
268269

270+
Issue: The theme section is intentionally a rough sketch at the moment.
271+
It should contain all the details necessary to evaluate the proposal.
272+
269273
In addition to the [=shadow part map=],
270274
every [=shadow root=] has a <dfn export for="shadow root">partial shadow theme map</dfn>
271275
and a <dfn export for="shadow root">computed shadow theme map</dfn>
@@ -283,6 +287,7 @@ Otherwise,
283287
it's the union of the [=partial shadow theme map=]
284288
with the [=computed shadow theme maps=] of every [=shadow host’s=] [=shadow root=] in its [=shadow tree=].
285289

290+
Issue(w3c/csswg-drafts#2381): Decide if theme can ever/always penetrate closed shadow roots.
286291

287292
Selecting a Shadow Element: the ''::part()'' and ''::theme()'' pseudo-elements {#part-theme}
288293
============================================================================================

0 commit comments

Comments
 (0)