Re: [svgwg] 'd' presentation attribute inconsistent with shipped implementation and offset-path

I'm not sure I agree with "does not make sense & is inconsistent" - you can't get from an attribute value to a `<string>` without massaging/preprocessing the former (adding quotes, escaping newlines.) That `path()`is a `<basic-shape>` also doesn't restrict it from appearing in other productions. Choosing "untyped" over "typed" is what doesn't make sense to me.
That's pretty irrelevant though, because we can "fix" (recognize and serialize `<string>`) this in Blink (I'll comment on the bug mentioned.) The ship is ways out to sea though, and I'm not sure `d: <string>` is going to outsell `d: <path()>`. I guess the least we can do is try though, with use counters and whatnot ('d' property usage is already tallied, but not the value set), even if that could just appear to be a play to the gallery.

-- 
GitHub Notification of comment by fsoder
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/320#issuecomment-304466612 using your GitHub account

Received on Saturday, 27 May 2017 17:45:59 UTC