mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 14:37:45 +00:00
LibWeb: Convert background-position to LengthPercentage
Not much needed changing this time, hurrah! :^)
This commit is contained in:
parent
0162ca912b
commit
784ba2ec42
4 changed files with 36 additions and 21 deletions
|
@ -45,9 +45,9 @@ struct BackgroundLayerData {
|
|||
CSS::BackgroundBox origin { CSS::BackgroundBox::PaddingBox };
|
||||
CSS::BackgroundBox clip { CSS::BackgroundBox::BorderBox };
|
||||
CSS::PositionEdge position_edge_x { CSS::PositionEdge::Left };
|
||||
CSS::Length position_offset_x { CSS::Length::make_px(0) };
|
||||
CSS::LengthPercentage position_offset_x { CSS::Length::make_px(0) };
|
||||
CSS::PositionEdge position_edge_y { CSS::PositionEdge::Top };
|
||||
CSS::Length position_offset_y { CSS::Length::make_px(0) };
|
||||
CSS::LengthPercentage position_offset_y { CSS::Length::make_px(0) };
|
||||
CSS::BackgroundSize size_type { CSS::BackgroundSize::LengthPercentage };
|
||||
CSS::LengthPercentage size_x { CSS::Length::make_auto() };
|
||||
CSS::LengthPercentage size_y { CSS::Length::make_auto() };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue