mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibWeb: Store computed CSS value of background-repeat
This commit is contained in:
parent
fcfeadaffa
commit
bd5a91269f
Notes:
sideshowbarker
2024-07-18 20:53:09 +09:00
Author: https://github.com/trflynn89
Commit: bd5a91269f
Pull-request: https://github.com/SerenityOS/serenity/pull/6083
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