[svgwg] vector-effect grammar should allow multiple effects (#725)

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

== vector-effect grammar should allow multiple effects ==
The grammar for the [`vector-effect` property](https://svgwg.org/svg2-draft/coords.html#VectorEffectProperty) currently only allows one keyword. (`|` combinator is an exclusive OR in the [CSS values grammar](https://drafts.csswg.org/css-values/#component-combinators)).

> Value: none \| non-scaling-stroke \| non-scaling-size \| non-rotation \| fixed-position

However, the prose says: 

> These values can be enumerated. Thereby, the effect which has these characteristics simultaneously can be specified.

Logically, it is reasonable to apply multiple effects at once. The grammar should be changed to use the `||` combinator, except for the `none` keyword:

> Value: none \| [ non-scaling-stroke || non-scaling-size || non-rotation || fixed-position ]


I do not expect there will be any no implementation impacts of making this change, since there are currently no implementations that implement more than one keyword value.

cc @satakagi 

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

Received on Sunday, 18 August 2019 20:51:44 UTC