mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
LibWeb: Allow having a linear-gradient() as a background-image
This commit is contained in:
parent
d924e9ff60
commit
ee7e9e7c86
Notes:
sideshowbarker
2024-07-17 16:42:19 +09:00
Author: https://github.com/MacDue
Commit: ee7e9e7c86
Pull-request: https://github.com/SerenityOS/serenity/pull/14564
Reviewed-by: https://github.com/AtkinsSJ
4 changed files with 11 additions and 7 deletions
|
@ -21,7 +21,7 @@ bool HTMLHtmlElement::should_use_body_background_properties() const
|
|||
auto const& background_layers = layout_node()->background_layers();
|
||||
|
||||
for (auto& layer : background_layers) {
|
||||
if (layer.image)
|
||||
if (layer.background_image)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue