mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:07:35 +00:00
LibWeb: Include custom properties in CSS dump
This commit is contained in:
parent
c268d0fa13
commit
1d5d27aa22
2 changed files with 10 additions and 1 deletions
|
@ -65,6 +65,7 @@ public:
|
|||
virtual bool set_property(PropertyID, StringView css_text) override;
|
||||
|
||||
const Vector<StyleProperty>& properties() const { return m_properties; }
|
||||
const HashMap<String, StyleProperty>& custom_properties() const { return m_custom_properties; }
|
||||
Optional<StyleProperty> custom_property(const String& custom_property_name) const { return m_custom_properties.get(custom_property_name); }
|
||||
size_t custom_property_count() const { return m_custom_properties.size(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue