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

LibWeb: Port HTMLElement interface from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-09-03 16:42:25 +12:00 committed by Tim Flynn
parent 938356da98
commit 2c69f273a0
3 changed files with 19 additions and 18 deletions

View file

@ -29,14 +29,14 @@ public:
DeprecatedString title() const { return deprecated_attribute(HTML::AttributeNames::title); }
DeprecatedString dir() const;
void set_dir(DeprecatedString const&);
StringView dir() const;
void set_dir(String const&);
virtual bool is_editable() const final;
DeprecatedString content_editable() const;
WebIDL::ExceptionOr<void> set_content_editable(DeprecatedString const&);
StringView content_editable() const;
WebIDL::ExceptionOr<void> set_content_editable(StringView);
DeprecatedString inner_text();
String inner_text();
void set_inner_text(StringView);
int offset_top() const;