- From: Nikos Andronikos via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Aug 2016 11:00:11 +0000
- To: public-svg-issues@w3.org
nikosandronikos has just labeled an issue for https://github.com/w3c/svgwg as "DoC_noResponse": == SVG element names should not mix camelCase and lowercase notations == I don't understand why elements introduced by SVG 2 such as `<solidcolor>` and `<meshrow>` are defined with lowercase names while the remaining elements such as `<linearGradient>` and `<radialGradient>` keep using camelCase names. For consistency and backward compatibility I would define all elements using camelCase notation, with a notice that lowercase names are valid when HTML serialization is used. ~~`element.nodeName`, `element.tagName` and `element.localName` are already behaving inconsistently with HTML and SVG elements and changing their behaviour would break content. Therefore, I would introduce a new `element.name` DOM property that would show camelCase names for elements parsed with XML parser and lowercase names for elements parsed with HTML parser (including SVG elements inside HTML).~~ See https://github.com/w3c/svgwg/issues/161
Received on Monday, 8 August 2016 11:00:26 UTC