mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
LibWeb: Make DOM::Element::resolve_custom_property() const
This commit is contained in:
parent
56710fab34
commit
3e4fffec26
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ public:
|
||||||
const ShadowRoot* shadow_root() const { return m_shadow_root; }
|
const ShadowRoot* shadow_root() const { return m_shadow_root; }
|
||||||
void set_shadow_root(RefPtr<ShadowRoot>);
|
void set_shadow_root(RefPtr<ShadowRoot>);
|
||||||
|
|
||||||
Optional<CSS::StyleResolver::CustomPropertyResolutionTuple> resolve_custom_property(const String& custom_property_name)
|
Optional<CSS::StyleResolver::CustomPropertyResolutionTuple> resolve_custom_property(const String& custom_property_name) const
|
||||||
{
|
{
|
||||||
return m_custom_properties.get(custom_property_name);
|
return m_custom_properties.get(custom_property_name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue