Re: [svgwg] [svg-native] [13. Gradients and Patterns] gradientUnits in SVG Native (#746)

Requiring gradientUnits="userSpaceOnUse" seems sensible given the requirement of rendering identically in regular svg viewers. Especially if nothing else in the profile requires bounding box calculations at this point. 

Content with objectBoundingBox can be converted by precomputing the bounds and resolving the relevant attributes to userSpaceOnUse units instead. 

Seems like a reasonable simplification, not lovely to make gradients more verbose, but the cost of specifying/parsing the unit seems relatively small in comparison to implementing bounding box calculations and computing it at runtime for sure. 

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

Received on Tuesday, 15 October 2019 21:18:19 UTC