mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:57:45 +00:00
LibWeb: Remove background_image from NodeWithStyle
We now entirely use the background-layers to check images.
This commit is contained in:
parent
a214036509
commit
3d127472ba
3 changed files with 7 additions and 12 deletions
|
@ -205,7 +205,6 @@ public:
|
|||
const Gfx::Font& font() const { return *m_font; }
|
||||
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; }
|
||||
Vector<CSS::BackgroundLayerData> const& background_layers() const { return computed_values().background_layers(); }
|
||||
const CSS::ImageStyleValue* list_style_image() const { return m_list_style_image; }
|
||||
|
||||
|
@ -223,7 +222,6 @@ private:
|
|||
RefPtr<Gfx::Font> m_font;
|
||||
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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue