[svgwg] Issue: vector-effect grammar should allow multiple effects (#725) marked as Co-ordinates chapter

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as "Co-ordinates chapter":

== 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 

See https://github.com/w3c/svgwg/issues/725

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