custom elements without the dash

brought up on a twitter thread
https://twitter.com/johnslegers/status/552064145399767040

Why force hyphen in custom elements? See alternative approach at http://
mdo.github.io/mdoml/  <http://t.co/V73nupEc8E> and https://
github.com/mdo/mdoml/issues/7 … <https://t.co/kJGNmaBOp7>.

NOTE I am not advocating this approach.

There is no apparent downside for a developer if they do
<dropdown>

instead of
<x-dropdown>

claimed issues with use of dash:

(1) causes bloat, (2) reduces readability & (3) reduces flexibility

As there is no perceived negative effect for the developer when using non
dash custom elements (other than opprobrium from the  standards overlords)

Suggest the reasons for not doing so need to be better articulated.
--

Regards

SteveF

Received on Monday, 5 January 2015 13:44:05 UTC