mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 07:32:07 +00:00
LibWeb: Allow having a linear-gradient() as a background-image
This commit is contained in:
parent
d924e9ff60
commit
ee7e9e7c86
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