mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
LibWeb: Port CSSStyleDeclaration from DeprecatedString to String
This commit is contained in:
parent
629f661e3b
commit
af7df1dbbf
Notes:
sideshowbarker
2024-07-16 23:05:02 +09:00
Author: https://github.com/shannonbooth
Commit: af7df1dbbf
Pull-request: https://github.com/SerenityOS/serenity/pull/22057
Reviewed-by: https://github.com/trflynn89
5 changed files with 18 additions and 18 deletions
|
@ -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 rule’s 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 rule’s cssRules list, or null if there are no such rules.
|
||||
Optional<String> rules;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue