Re: Rename 'd' property
Chris Lilley <[email protected]> Mon, 8 Feb 2016 16:00:54 +0100
| Newsgroups | gmane.comp.web.svg |
|---|---|
| Organization | W3C |
| Message-ID | <[email protected]> |
Hello Sebastian, Monday, February 8, 2016, 9:38:39 AM, you wrote: Hi all, https://www.w3.org/2016/02/03-svg-irc.html#T23-25-17 is talking about the 'd' CSS property as a reflection of the 'd' attribute. Though that name is really inexpressive. It is. The attribute was originally called "data" but was shortened to "d" because it is the most common attribute in SVG. A similar proposal to shortn "path" element name to "p" was not adopted :) I agree it is a bit terse as a property name. On the other hand, having a 1:1 mapping between the names and definitions of properties and presentation attributes can be helpful for authoring. So I wonder, whether it could be renamed to something more meaningful like 'path' when porting it to CSS (or at least introduce it as an alias for 'd'). I can see advantages and disadvantages. -- Best regards, Chris Lilley Technical Director, W3C Interaction Domain