mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-17 05:29:56 +00:00
LibWeb/CSS: Use FlyString for CSSStyleValue property name
This commit is contained in:
parent
a8312bf571
commit
a30afafcc9
Notes:
github-actions[bot]
2025-10-02 12:48:24 +00:00
Author: https://github.com/AtkinsSJ
Commit: a30afafcc9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6310
22 changed files with 32 additions and 31 deletions
|
@ -145,7 +145,7 @@ Vector<Parser::ComponentValue> StyleValue::tokenize() const
|
|||
}
|
||||
|
||||
// https://drafts.css-houdini.org/css-typed-om-1/#reify-as-a-cssstylevalue
|
||||
GC::Ref<CSSStyleValue> StyleValue::reify(JS::Realm& realm, String const& associated_property) const
|
||||
GC::Ref<CSSStyleValue> StyleValue::reify(JS::Realm& realm, FlyString const& associated_property) const
|
||||
{
|
||||
// 1. Return a new CSSStyleValue object representing value whose [[associatedProperty]] internal slot is set to property.
|
||||
return CSSStyleValue::create(realm, associated_property, to_string(SerializationMode::Normal));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue