LibWeb: Port CSSStyleDeclaration from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-11-21 10:39:54 +13:00 committed by Tim Flynn
commit af7df1dbbf
Notes: sideshowbarker 2024-07-16 23:05:02 +09:00
5 changed files with 18 additions and 18 deletions

View file

@ -55,7 +55,7 @@ String CSSStyleRule::serialized() const
builder.append(" {"sv);
// 2. Let decls be the result of performing serialize a CSS declaration block on the rules associated declarations, or null if there are no such declarations.
auto decls = declaration().length() > 0 ? declaration().serialized() : Optional<DeprecatedString>();
auto decls = declaration().length() > 0 ? declaration().serialized() : Optional<String>();
// FIXME: 3. Let rules be the result of performing serialize a CSS rule on each rule in the rules cssRules list, or null if there are no such rules.
Optional<String> rules;