Re: [csswg-drafts] [css-transforms] Ambiguous syntax for translate, scale, rotate and matrix in SVG (#4455)

The problem arose when implementing a ragel parser for svg transforms (in Inkscape), watching it cut floats in absurd places, and when debugging, seeing that the tree allowed it, then seeing that the spec allows it.

I "fixed" the problem for me by removing the `?` but I think the only non-ambiguous cases where a space is not necessary are too absurd to care and that the `?` **should** always be dropped  in the spec in those cases (like `scale(1..1) == scale(1,0.1)`, `rotate(1e11e11e1)==rotate(10,10,10)`, etc, are technically allowed currently, but the spec is currently unclear on what happens on ambiguous cases like `translate(1.1.1)` and those horrors should better be left invalid than implementation-dependent )

Hence this bug and MR

GitHub Notification of comment by mclegrand
Please view or discuss this issue at using your GitHub account

Received on Monday, 28 October 2019 22:27:23 UTC