mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
LibWeb: Serialize selectors only in CSSStyleRule::selector_text()
Previously, this was returning the serialization for the whole style rule, which isn't what we want.
This commit is contained in:
parent
e72286c0ec
commit
9f6a09837b
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ String CSSStyleRule::serialized() const
|
|||
String CSSStyleRule::selector_text() const
|
||||
{
|
||||
// The selectorText attribute, on getting, must return the result of serializing the associated group of selectors.
|
||||
return serialized();
|
||||
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