Per "find flattened slotables", a <slot> whose root is a shadow root is
recursed through, not appended to the result. ::slotted() in an outer
shadow must therefore not match such an intermediate slot.
Fixes the gallery on Reddit comment pages: a re-slotted <slot> was
picking up `::slotted(:not([slot])) { display: grid }` from the inner
shadow, which made the <ul> size to its content rather than the flex
container, leaving the carousel's "next" button with a 0px translate.
|
||
|---|---|---|
| .. | ||
| css-hover-shadow-dom.txt | ||
| css-media-queries.txt | ||
| css-variable-inheritance-across-shadow-boundary.txt | ||
| declarative-basic.txt | ||
| remove-style-element-inside-shadow-tree.txt | ||
| replace-declarative-shadow-root-with-style-sheet.txt | ||
| slotted-does-not-match-nested-slot.txt | ||