mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
LibWeb/CSS: Use SelectorList type instead of Vector<NNRP<Selector>>
This commit is contained in:
parent
d935a00413
commit
74c448d744
Notes:
github-actions[bot]
2024-10-17 18:57:20 +00:00
Author: https://github.com/AtkinsSJ
Commit: 74c448d744
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1842
Reviewed-by: https://github.com/awesomekling
5 changed files with 9 additions and 9 deletions
|
@ -407,7 +407,7 @@ String Selector::serialize() const
|
|||
}
|
||||
|
||||
// https://www.w3.org/TR/cssom/#serialize-a-group-of-selectors
|
||||
String serialize_a_group_of_selectors(Vector<NonnullRefPtr<Selector>> const& selectors)
|
||||
String serialize_a_group_of_selectors(SelectorList const& selectors)
|
||||
{
|
||||
// To serialize a group of selectors serialize each selector in the group of selectors and then serialize a comma-separated list of these serializations.
|
||||
return MUST(String::join(", "sv, selectors));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue