Closed
Description
For servo/servo#9283, Servo needs to be able to parse rect(...)
values with values separated purely by spaces, for example: rect(0, 0, 5, 5)
.
However, cssparser
only provides parse_comma_separated()
. I looked into it a little, and it's a little challenging: parse_{x}_separated()
will parse up to a Delimiter, of which all 8 slots of the byte are in use. It is not possible to have more than one true
bit per byte, because some bitwise OR logic is used which depends on mutual exclusivity.
Additionally, three different Delimiter
s would need to be added: space, tab, newline.
So, I'd love to implement this, but I'll need some pointers :)
Metadata
Metadata
Assignees
Labels
No labels