- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Wed, 06 Jul 2016 00:48:56 +0000
- To: public-svg-issues@w3.org
AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as
"Needs editing":
== Incorrect syntax for <tspan>´s attributes ==
If I´m not mistaken, multipliers in value syntaxes must not be placed
behind one another and having an optional comma in the definition is
redundant.
So, the syntaxes for [`<tspan>`´s
attributes](https://svgwg.org/svg2-draft/text.html#TSpanAttributes)
need to be changed accordingly:
x, y, dx, dy:
[<length> | <percentage> | <number>]#+ ,? => [[ <length> |
<percentage> | <number> ]# ]+
rotate:
<number>#+ ,? => [ <number># ]+
And even if grouping with square brackets were mandatory, it improves
the readability a bit.
Sebastian
See https://github.com/w3c/svgwg/issues/191
Received on Wednesday, 6 July 2016 00:49:03 UTC