[selectors] ::shadow no longer exists? · Issue #7474 · w3c/csswg-drafts (original) (raw)
Comments
fantasai added a commit that referenced this issue
@Loirooriol Fixed by switching to ::slotted
. Incidentally, the next example in the section... do you think there's something reasonable we could switch it to, or should I just comment it out?
fantasai added a commit that referenced this issue
So, ::slotted()
is an alias for other elements in the tree, and then I guess it makes sense to have internal structure.
But I don't see https://drafts.csswg.org/css-scoping/#slotted-pseudo saying that it has internal structure.
Also, example 8 is still saying mentioning ::shadow
:
the selectors
div > span
anddiv::shadow ::slotted > span
Also, AFAIK ::slotted
is not valid, it should be ::slotted(*)
or something.
@Loirooriol Yeah, I realized that ::slotted doesn't currently have internal structure... that's under discussion somewhere I think. So I switched it to be a hypothetical pseudo-element that doesn't exist, since we don't have any examples yet.
But still, that second example, which relies on both ::slotted and ::shadow existing, do I just comment it out or is there some valid useful thing you think we could replace it with?
fantasai added a commit that referenced this issue
If right now there is no pseudo-element with internal structure, then I would comment it out.
tabatkins added a commit that referenced this issue
…nternal structure. #7474
Maybe even comment out the whole section?
jakearchibald pushed a commit to jakearchibald/csswg-drafts that referenced this issue
jakearchibald pushed a commit to jakearchibald/csswg-drafts that referenced this issue
jakearchibald pushed a commit to jakearchibald/csswg-drafts that referenced this issue
jakearchibald pushed a commit to jakearchibald/csswg-drafts that referenced this issue
2 participants