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

LibWeb: Port CSSStyleDeclaration from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-09-06 19:07:24 +12:00 committed by Andrew Kaster
parent fbc4370c44
commit f5efe9bb63
5 changed files with 21 additions and 21 deletions

View file

@ -19,10 +19,10 @@ public:
virtual ~ResolvedCSSStyleDeclaration() override = default;
virtual size_t length() const override;
virtual DeprecatedString item(size_t index) const override;
virtual String item(size_t index) const override;
virtual Optional<StyleProperty> property(PropertyID) const override;
virtual WebIDL::ExceptionOr<void> set_property(PropertyID, StringView css_text, StringView priority) override;
virtual WebIDL::ExceptionOr<DeprecatedString> remove_property(PropertyID) override;
virtual WebIDL::ExceptionOr<String> remove_property(PropertyID) override;
virtual DeprecatedString serialized() const override;
virtual WebIDL::ExceptionOr<void> set_css_text(StringView) override;