1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 08:35:07 +00:00
serenity/Tests/LibWeb/Text/expected/css/box-shadow-resolves-length-functions.txt
Sam Atkins c65d6964ea LibWeb: Update layout if we lack a node when getting computed style
As noted, there are two situations where an element will have no layout
node here:
1. The element is invisible in a way that it generates no layout node.
2. We haven't built the layout yet.

This protects against the second case, which would otherwise incorrectly
send us down the path of looking directly at the computed style.
2023-10-15 07:14:39 +02:00

1 line
67 B
Text

0 calc(5px - 10px) 0 calc(2px + 3px) => #000000ff 0px -5px 0px 5px