summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Document.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-04-02 18:19:33 -0400
committerAndreas Kling <kling@serenityos.org>2021-04-03 11:24:33 +0200
commitfa9ba8bce53e24c983e2cac53d205e0ed8882b82 (patch)
treef2ad913e00e8aea6f9b498d3c8d8d0f2564cf207 /Userland/Libraries/LibWeb/DOM/Document.h
parentbd5a91269f27ae1d8aac0027b57d9f2426bec5f4 (diff)
downloadserenity-fa9ba8bce53e24c983e2cac53d205e0ed8882b82.zip
LibWeb: Support rendering background images with 'background-repeat'
Update the painting of background images for both <body> nodes and other non-initial nodes. Currently, only the following values are supported: repeat, repeat-x, repeat-y, no-repeat This also doesn't support the two-value syntax which allows for setting horizontal and vertical repetition separately.
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Document.h')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Document.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Document.h b/Userland/Libraries/LibWeb/DOM/Document.h
index 1814b10f3f..d272db23f0 100644
--- a/Userland/Libraries/LibWeb/DOM/Document.h
+++ b/Userland/Libraries/LibWeb/DOM/Document.h
@@ -129,6 +129,7 @@ public:
Color background_color(const Gfx::Palette&) const;
RefPtr<Gfx::Bitmap> background_image() const;
+ CSS::Repeat background_repeat() const;
Color link_color() const;
void set_link_color(Color);