You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: css-shadow-parts-1/Overview.bs
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,6 @@ spec:infra;
24
24
Introduction {#intro}
25
25
=====================
26
26
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
-
30
27
Shadow DOM allows authors to separate their page into "components",
31
28
subtrees of markup whose details are only relevant to the component itself,
32
29
not the outside page.
@@ -171,10 +168,6 @@ To calculate the part element map of a shadow root, |outerRoot|:
171
168
</ol>
172
169
173
170
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
-
178
171
Issue: There is no need for the part element map values to be ordered, can we drop that?
179
172
180
173
Naming a Shadow Element: the <{html-global/part}> attribute {#part-attr}
@@ -229,10 +222,18 @@ Each part mapping is one of:
229
222
230
223
Note: It's okay to map a sub-part to several names.
231
224
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"
233
226
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.
236
237
237
238
<pre class="example">
238
239
<style>
@@ -266,6 +267,9 @@ as shorthand for "ident1 => ident2, ident1 => ident3, ...".
266
267
Exposing More Widely: the <{html-global/theme}> attribute {#theme-attr}
0 commit comments