Re: [svgwg] Where are unitless lengths allowed? What do they mean?

I still notice that even within https://svgwg.org/svg2-draft/types.html#presentation-attribute-css-value there is no clear definition of what unitless value should correspond to;

The spec is slightly ambiguous here. For example, the attribute orient for marker clearly state that a unitless value must be considered as if it were degrees: https://svgwg.org/svg2-draft/painting.html#OrientAttribute

However, the definition for the rotate attribute of the hatch element does not tell anything: https://svgwg.org/svg2-draft/pservers.html#HatchElementRotateAttribute

To avoid any ambiguity, we could add a clear default correspondence between unitless and px for length and unitless and deg for angle in https://svgwg.org/svg2-draft/types.html#presentation-attribute-css-value

-- 
GitHub Notification of comment by JeremiePat
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/379#issuecomment-358061793 using your GitHub account

Received on Tuesday, 16 January 2018 18:37:31 UTC