mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:37:45 +00:00
LibWeb: Store computed CSS value of background-repeat
This commit is contained in:
parent
fcfeadaffa
commit
bd5a91269f
7 changed files with 55 additions and 0 deletions
|
@ -234,6 +234,10 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& specified_style)
|
|||
m_background_image = static_ptr_cast<CSS::ImageStyleValue>(bgimage.value());
|
||||
}
|
||||
|
||||
auto background_repeat = specified_style.background_repeat();
|
||||
if (background_repeat.has_value())
|
||||
computed_values.set_background_repeat(background_repeat.value());
|
||||
|
||||
computed_values.set_display(specified_style.display());
|
||||
|
||||
auto flex_direction = specified_style.flex_direction();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue