mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb/CSS: Parse the ::slotted pseudo-element
This commit is contained in:
parent
0151a088ad
commit
9054ff29f0
Notes:
github-actions[bot]
2025-07-15 12:55:25 +00:00
Author: https://github.com/shannonbooth
Commit: 9054ff29f0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5414
Reviewed-by: https://github.com/AtkinsSJ ✅
10 changed files with 141 additions and 21 deletions
|
@ -294,6 +294,11 @@ String Selector::PseudoElementSelector::serialize() const
|
|||
}
|
||||
|
||||
m_value.visit(
|
||||
[&builder](NonnullRefPtr<Selector> const& compund_selector) {
|
||||
builder.append('(');
|
||||
builder.append(compund_selector->serialize());
|
||||
builder.append(')');
|
||||
},
|
||||
[&builder](PTNameSelector const& pt_name_selector) {
|
||||
builder.append('(');
|
||||
if (pt_name_selector.is_universal)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue