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

Yes, we definitely don't want to change the default value if the attribute isn't present. I'd missed that the current draft implies that behavior & I don't think we've discussed it in the group. Every other decision about SVG Native has been based on the idea that a valid SVG Native document would render identically as a regular SVG.

Dirk proposed a compromise [here](https://github.com/w3c/svgwg/issues/657#issuecomment-482778343): make `gradientUnits="userSpaceOnUse"` required in the markup; if gradients are used and the attribute isn't present, the file is no longer valid SVG Native. Rendering tools would not have to implement the `objectBoundingBox` behavior.

I don't love that solution, but it's better than changing the default, if there are strong implementer objections to bounding-box gradients.


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

Received on Tuesday, 15 October 2019 19:58:09 UTC