mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
LibWeb/CSS: Use FlyString for CSSStyleValue property name
This commit is contained in:
Notes:
github-actions[bot]
2025-10-02 12:48:24 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/a30afafcc91 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6310
@@ -16,7 +16,7 @@ Vector<Parser::ComponentValue> CustomIdentStyleValue::tokenize() const
|
||||
}
|
||||
|
||||
// https://drafts.css-houdini.org/css-typed-om-1/#reify-ident
|
||||
GC::Ref<CSSStyleValue> CustomIdentStyleValue::reify(JS::Realm& realm, String const&) const
|
||||
GC::Ref<CSSStyleValue> CustomIdentStyleValue::reify(JS::Realm& realm, FlyString const&) const
|
||||
{
|
||||
// 1. Return a new CSSKeywordValue with its value internal slot set to the serialization of ident.
|
||||
return CSSKeywordValue::create(realm, m_custom_ident);
|
||||
|
||||
Reference in New Issue
Block a user