mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
LibWeb: Use the serialize_a_{identifier,string} algorithms for selectors
Also fixed that serializing an attribute selector never output the value.
This commit is contained in:
parent
d775212f19
commit
e72286c0ec
2 changed files with 10 additions and 11 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
int step_size { 0 }; // "A"
|
||||
int offset = { 0 }; // "B"
|
||||
|
||||
String to_string() const
|
||||
String serialize() const
|
||||
{
|
||||
return String::formatted("{}n{:+}", step_size, offset);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue