Closed Bug 1342559 Opened 7 years ago Closed 7 years ago

stylo: Support special parsing mode for lengths in SVG

Categories

(Core :: CSS Parsing and Computation, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1329088

People

(Reporter: manishearth, Unassigned)

References

Details

SVG pres attrs allow for unitless non-calc lengths (which map to pixels). We should add a special parsing mode (probably a flag on ParserContext or ParserContextExtraData) that allows this.
Note that servo already has this on a per-property basis.  See parse_numbers_are_pixels_non_negative and parse_numbers_are_pixels.
Though that may not be much help for our specific use here.
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.