Re: [svgwg] 'd' presentation attribute: use path() function

I'd agree with @dirkschulze that there would need to be additional _prose_ for the presentation attribute form of `d` - because regardless of `<string>` or `<path()>` you cannot just pass the attribute value to the CSS parser and get something path'y back (a jumble of tokens is what you'll be getting.) (An attribute value - string - isn't a `<string-token>`. You need quotes and potentially escaping to produce the latter from the former.) So since pre-processing is going to be required _anyway_, one might as well go with what seems like the lesser legacy form (`<path()>`), and avoid adding another (`<string>`).

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

Received on Monday, 8 January 2018 20:22:51 UTC