diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-10-29 09:00:30 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-29 22:06:49 +0200 |
commit | ef62118c8b1707a4835035ebd04b5891bda9ec13 (patch) | |
tree | 832f1240ce71a4e0fde02b7305cef0e6b6384e6e /Userland/Libraries/LibWeb/Layout/Node.h | |
parent | eb0fb38caca5f77e323d1745b6974cd7d6946634 (diff) | |
download | serenity-ef62118c8b1707a4835035ebd04b5891bda9ec13.zip |
LibWeb: Render any specified list-style-image for list items
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/Node.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/Node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Node.h b/Userland/Libraries/LibWeb/Layout/Node.h index 014db131d4..0215ecff36 100644 --- a/Userland/Libraries/LibWeb/Layout/Node.h +++ b/Userland/Libraries/LibWeb/Layout/Node.h @@ -206,6 +206,7 @@ public: float line_height() const { return m_line_height; } float font_size() const { return m_font_size; } const CSS::ImageStyleValue* background_image() const { return m_background_image; } + const CSS::ImageStyleValue* list_style_image() const { return m_list_style_image; } NonnullRefPtr<NodeWithStyle> create_anonymous_wrapper() const; @@ -222,6 +223,7 @@ private: float m_line_height { 0 }; float m_font_size { 0 }; RefPtr<CSS::ImageStyleValue> m_background_image; + RefPtr<CSS::ImageStyleValue> m_list_style_image; bool m_has_definite_height { false }; bool m_has_definite_width { false }; |