1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:27:44 +00:00

LibWeb: Rename LayoutStyle => CSS::ComputedValues

This object represents the CSS "computed values" so let's call it that.
This commit is contained in:
Andreas Kling 2021-01-06 10:34:31 +01:00
parent edeec2974f
commit 5721b2a3da
14 changed files with 160 additions and 160 deletions

View file

@ -327,7 +327,7 @@ Color Document::background_color(const Palette& palette) const
if (!body_layout_node)
return default_color;
auto color = body_layout_node->style().background_color();
auto color = body_layout_node->computed_values().background_color();
if (!color.alpha())
return default_color;
return color;