1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:18:11 +00:00

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
parent 629f661e3b
commit af7df1dbbf
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;