diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-11-04 16:51:34 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-10 14:38:49 +0100 |
commit | 1e53768f1bd13ab9e259ce06488e4115d8e2fb85 (patch) | |
tree | e48f9a7c4bf8008b492c8ff2fb8f86d1bbae5ac9 /Userland/Libraries/LibWeb/CSS/StyleProperties.h | |
parent | 5d0acb63ae4844a12733c8db1c7469cea846b529 (diff) | |
download | serenity-1e53768f1bd13ab9e259ce06488e4115d8e2fb85.zip |
LibWeb: Combine background-repeat-x/y pseudo-properties
While right now this doesn't save much complexity, it will do once we
care about multiple background layers per node. Then, having a single
repeat value per layer will simplify things.
It also means we can remove the pseudo-property concept entirely! :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/StyleProperties.h')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/StyleProperties.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleProperties.h b/Userland/Libraries/LibWeb/CSS/StyleProperties.h index 6472f87208..12cb64d423 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleProperties.h +++ b/Userland/Libraries/LibWeb/CSS/StyleProperties.h @@ -62,8 +62,7 @@ public: Optional<CSS::JustifyContent> justify_content() const; Optional<CSS::Overflow> overflow_x() const; Optional<CSS::Overflow> overflow_y() const; - Optional<CSS::Repeat> background_repeat_x() const; - Optional<CSS::Repeat> background_repeat_y() const; + Optional<BackgroundRepeatData> background_repeat() const; Optional<CSS::BoxShadowData> box_shadow() const; CSS::BoxSizing box_sizing() const; Optional<CSS::PointerEvents> pointer_events() const; |