mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 13:45:07 +00:00
LibWeb: Add internal use_pseudo_element to DOM Element
This commit is contained in:
parent
cfe9577b48
commit
f621dc464b
12 changed files with 61 additions and 96 deletions
|
@ -59,6 +59,11 @@ String PropertyOwningCSSStyleDeclaration::item(size_t index) const
|
|||
return MUST(String::from_utf8(CSS::string_from_property_id(m_properties[index].property_id)));
|
||||
}
|
||||
|
||||
CSS::PropertyID PropertyOwningCSSStyleDeclaration::property_id_by_index(size_t index) const
|
||||
{
|
||||
return m_properties[index].property_id;
|
||||
}
|
||||
|
||||
JS::NonnullGCPtr<ElementInlineCSSStyleDeclaration> ElementInlineCSSStyleDeclaration::create(DOM::Element& element, Vector<StyleProperty> properties, HashMap<FlyString, StyleProperty> custom_properties)
|
||||
{
|
||||
auto& realm = element.realm();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue