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

zauguin has just created a new issue for https://github.com/w3c/svgwg:

== [svg-native] [13. Gradients and Patterns] gradientUnits in SVG Native ==
According to the current [SVG Native editor's draft](https://svgwg.org/specs/svg-native/#pservers):

> The following attributes are forbidden:
> 
>     gradientUnits
> 
>     'xlink:href' on linearGradient or radialGradient
> 
> Delete section 13.3: Patterns.

Given that `gradientUnits` has default value `objectBoundingBox`, this seems to imply that a gradient always uses `objectBoundingBox` in SVG Native. But multiple comments here seem to imply something else, that `objectBoundingBox` is not supported and instead only `userSpaceOnUse` should be used with SVG Native. This also makes more sense: `userSpaceOnUse` is much easier to implement than `objectBoundingBox`, so I think it should be allowed. 

What is the current position on this? Are gradients with (implicit) `gradientUnits=objectBoundingBox` a required feature of SVG Native?

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/746 using your GitHub account

Received on Tuesday, 15 October 2019 08:01:22 UTC