1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-15 10:30:59 +00:00
serenity/Tests/LibWeb/Layout
Aliaksandr Kalenik 33294aea86 LibWeb: Apply shadow root style sheets in StyleComputer
Now, if an element belongs to a shadow tree, we use only the style
sheets from the corresponding shadow root during style computation,
instead of using all available style sheets as was the case
previously.

The only exception is the user agent style sheets, which are still
taken into account for all elements.

Tests/LibWeb/Layout/input/input-element-with-display-inline.html
is affected because style of document no longer affects shadow tree
of input element, like it is supposed to be.

Co-authored-by: Simon Wanner <simon+git@skyrising.xyz>
2024-03-09 16:13:32 +01:00
..
data Tests/LibWeb: Move LibWeb test SVGs to their own directory 2024-02-19 22:11:59 -05:00
expected LibWeb: Apply shadow root style sheets in StyleComputer 2024-03-09 16:13:32 +01:00
input LibWeb: Account for margin and padding of justified abspos flex items 2024-03-09 16:02:17 +01:00