mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-25 12:38:37 +00:00
LibWeb: Port Node interface from DeprecatedString to String
Which is fortunately quite straight forward :^)
This commit is contained in:
committed by
Andreas Kling
parent
a76ef04ae6
commit
8ce9e51c97
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user