mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:38:11 +00:00
LibWeb: Port AttributeNames to FlyString
This commit is contained in:
parent
6a3f27509f
commit
e4f8c59210
93 changed files with 148 additions and 149 deletions
|
@ -183,7 +183,7 @@ void ElementInlineCSSStyleDeclaration::update_style_attribute()
|
|||
m_updating = true;
|
||||
|
||||
// 5. Set an attribute value for owner node using "style" and the result of serializing declaration block.
|
||||
MUST(m_element->set_attribute(HTML::AttributeNames::style, serialized()));
|
||||
MUST(m_element->set_attribute(HTML::AttributeNames::style, MUST(String::from_deprecated_string(serialized()))));
|
||||
|
||||
// 6. Unset declaration block’s updating flag.
|
||||
m_updating = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue