Skip to content

Commit f92c960

Browse files
committed
[css-shadow-parts] Log several TODOs in the draft.
1 parent 11e9a85 commit f92c960

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

css-shadow-parts-1/Overview.bs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ into the component for it to do with as it will,
4747
these pseudo-elements allow components and the outside page
4848
to interact in safe, powerful ways,
4949
maintaining encapsulation
50-
without surrendering all control.
50+
without surrending all control.
5151

5252
Motivation {#motivation}
5353
------------------------
@@ -149,6 +149,14 @@ Each part mapping is one of:
149149
:: Ignored for error-recovery / future compat.
150150
</dl>
151151

152+
Issue: Factor this out into an algorithm.
153+
154+
Issue: The value in the map is a set of elements, not individual elements; need to properly append.
155+
156+
Issue: Want a way to forward a name with the same name, without repeating the name (currently requires `foo => foo`).
157+
158+
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`).
159+
152160
Note: It's okay to give a part multiple names,
153161
or map a sub-part to several names.
154162
The "part name" should be considered similar to a class,

0 commit comments

Comments
 (0)