mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 12:05:07 +00:00
LibWeb: Port Node interface from DeprecatedString to String
Which is fortunately quite straight forward :^)
This commit is contained in:
parent
a76ef04ae6
commit
8ce9e51c97
21 changed files with 50 additions and 45 deletions
|
@ -108,7 +108,7 @@ Optional<ARIA::Role> HTMLAnchorElement::default_role() const
|
|||
String HTMLAnchorElement::text() const
|
||||
{
|
||||
// The text attribute's getter must return this element's descendant text content.
|
||||
return MUST(String::from_deprecated_string(descendant_text_content()));
|
||||
return descendant_text_content();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#dom-a-text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue