LibWeb: Allow having a linear-gradient() as a background-image

This commit is contained in:
MacDue 2022-07-12 00:28:19 +01:00 committed by Sam Atkins
parent d924e9ff60
commit ee7e9e7c86
Notes: sideshowbarker 2024-07-17 16:42:19 +09:00
4 changed files with 11 additions and 7 deletions

View file

@ -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;
}