mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:58:11 +00:00
LibWeb: Return String from CSSStyleRule::selector_text()
This commit is contained in:
parent
374b6cdffd
commit
d344c50663
3 changed files with 4 additions and 4 deletions
|
@ -89,10 +89,10 @@ String CSSStyleRule::serialized() const
|
|||
}
|
||||
|
||||
// https://www.w3.org/TR/cssom/#dom-cssstylerule-selectortext
|
||||
DeprecatedString CSSStyleRule::selector_text() const
|
||||
String CSSStyleRule::selector_text() const
|
||||
{
|
||||
// The selectorText attribute, on getting, must return the result of serializing the associated group of selectors.
|
||||
return serialize_a_group_of_selectors(selectors()).to_deprecated_string();
|
||||
return serialize_a_group_of_selectors(selectors());
|
||||
}
|
||||
|
||||
// https://www.w3.org/TR/cssom/#dom-cssstylerule-selectortext
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue