diff options
author | MacDue <macdue@dueutil.tech> | 2022-07-12 00:28:19 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2022-07-17 20:11:38 +0100 |
commit | ee7e9e7c86b34ebc7c9439e84dd185f383d7a998 (patch) | |
tree | 33d3991602223aa9ae9d1d65076d9a821ec1228e /Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp | |
parent | d924e9ff609a555247f19aa0db87797efeb655a7 (diff) | |
download | serenity-ee7e9e7c86b34ebc7c9439e84dd185f383d7a998.zip |
LibWeb: Allow having a linear-gradient() as a background-image
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp index db70fe4e33..179c4d0b9b 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp +++ b/Userland/Libraries/LibWeb/HTML/HTMLHtmlElement.cpp @@ -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; } |