ladybird/Tests/LibWeb/Text/expected/ShadowDOM
Andreas Kling 329a26307d LibWeb: Skip ::slotted matching for re-slotted slot elements
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.
2026-04-29 04:54:11 +02:00
..
css-hover-shadow-dom.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
css-media-queries.txt LibWeb/CSS: Evaluate media queries in shadow roots 2024-10-20 07:57:09 +01:00
css-variable-inheritance-across-shadow-boundary.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
declarative-basic.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
remove-style-element-inside-shadow-tree.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
replace-declarative-shadow-root-with-style-sheet.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
slotted-does-not-match-nested-slot.txt LibWeb: Skip ::slotted matching for re-slotted slot elements 2026-04-29 04:54:11 +02:00