mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb/CSS: Serialize * namespace in attribute selectors
Gets us 13 WPT subtest passes.
This commit is contained in:
parent
a56ce0f6fa
commit
3914bf05fb
Notes:
github-actions[bot]
2025-05-16 15:43:21 +00:00
Author: https://github.com/AtkinsSJ
Commit: 3914bf05fb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4756
Reviewed-by: https://github.com/shannonbooth
3 changed files with 18 additions and 17 deletions
|
@ -348,6 +348,8 @@ String Selector::SimpleSelector::serialize() const
|
|||
if (attribute.qualified_name.namespace_type == QualifiedName::NamespaceType::Named) {
|
||||
serialize_an_identifier(s, attribute.qualified_name.namespace_);
|
||||
s.append('|');
|
||||
} else if (attribute.qualified_name.namespace_type == QualifiedName::NamespaceType::Any) {
|
||||
s.append("*|"sv);
|
||||
}
|
||||
|
||||
// 3. Append the serialization of the attribute name as an identifier to s.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue