W3C home > Mailing lists > Public > www-svg@w3.org > February 2015

Re: making comma-wsp optional between points list coordinates

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 6 Feb 2015 06:18:39 +1100
Message-ID: <CAAWBYDA66rw0cx-pMABy2hn_84YoJ3nNa5VexA5fi1daiu9ajg@mail.gmail.com>
To: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>
Cc: www-svg <www-svg@w3.org>
On Fri, Feb 6, 2015 at 3:05 AM, Amelia Bellamy-Royds
<amelia.bellamy.royds@gmail.com> wrote:
> Sounds good, so long as the change is to make it exactly the same as <path>
> (except for the command letters).  Which is considerably more flexible than
> anything I've seen in CSS!   e.g. "1.5.3-1,.2-.7e1.2.3" is valid list of
> three points.

That technically works in CSS too - it parses as NUMBER(1.5)
NUMBER(.3) NUMBER(-1) COMMA NUMBER(.2) NUMBER(-.7e1) NUMBER(.2)
NUMBER(.3).

I mean, don't ever write anything like that, but it's possible.  ^_^

~TJ
Received on Thursday, 5 February 2015 19:19:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:39 UTC