mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 14:47:35 +00:00
LibWeb: Convert background-size from Length to LengthPercentage
Checking these for `auto` is awkward, but separating that will come later. :^)
This commit is contained in:
parent
f75e796909
commit
f602249ae9
4 changed files with 46 additions and 21 deletions
|
@ -49,8 +49,8 @@ struct BackgroundLayerData {
|
|||
CSS::PositionEdge position_edge_y { CSS::PositionEdge::Top };
|
||||
CSS::Length position_offset_y { CSS::Length::make_px(0) };
|
||||
CSS::BackgroundSize size_type { CSS::BackgroundSize::LengthPercentage };
|
||||
CSS::Length size_x { CSS::Length::make_auto() };
|
||||
CSS::Length size_y { CSS::Length::make_auto() };
|
||||
CSS::LengthPercentage size_x { CSS::Length::make_auto() };
|
||||
CSS::LengthPercentage size_y { CSS::Length::make_auto() };
|
||||
CSS::Repeat repeat_x { CSS::Repeat::Repeat };
|
||||
CSS::Repeat repeat_y { CSS::Repeat::Repeat };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue