Re: custom elements without the dash

2015-01-05 Thread Steve Faulkner

 It's already mentioned in that Twitter thread. If somebody created
 dialog we could then never standardize an element using that name.


Sure, but that's not a possibility that has any immediate effect upon a
developer, as I said I suggest the consequences of doing so need to be
better articulated (in the spec?).

--

Regards

SteveF
HTML 5.1 http://www.w3.org/html/wg/drafts/html/master/

On 5 January 2015 at 13:51, Anne van Kesteren ann...@annevk.nl wrote:

 On Mon, Jan 5, 2015 at 2:42 PM, Steve Faulkner faulkner.st...@gmail.com
 wrote:
  Why force hyphen in custom elements?

 It's already mentioned in that Twitter thread. If somebody created
 dialog we could then never standardize an element using that name.


 --
 https://annevankesteren.nl/



Re: custom elements without the dash

2015-01-05 Thread Jirka Kosek
On 5.1.2015 14:42, Steve Faulkner wrote:
 Suggest the reasons for not doing so need to be better articulated.

Since there are no namespaces (in XML sense) in HTML language prefixes
are used instead as a mechanism to prevent clash with future
standardized element names.

Jirka

-- 
--
  Jirka Kosek  e-mail: ji...@kosek.cz  http://xmlguru.cz
--
 Professional XML and Web consulting and training services
DocBook/DITA customization, custom XSLT/XSL-FO document processing
--
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
--
Bringing you XML Prague conferencehttp://xmlprague.cz
--



signature.asc
Description: OpenPGP digital signature


Re: custom elements without the dash

2015-01-05 Thread Steve Faulkner
On 5 January 2015 at 13:59, Jirka Kosek ji...@kosek.cz wrote:

 Since there are no namespaces (in XML sense) in HTML language prefixes
 are used instead as a mechanism to prevent clash with future
 standardized element names.


I understand why, its the zillions of developers out there who don't or
don't care, either they are given good reasons not to do it in language
they understand and is meaningful to them or they ignore requirement and it
becomes useless.

--

Regards

SteveF


Re: custom elements without the dash

2015-01-05 Thread Anne van Kesteren
On Mon, Jan 5, 2015 at 3:03 PM, Steve Faulkner faulkner.st...@gmail.com wrote:
 I understand why, its the zillions of developers out there who don't or
 don't care, either they are given good reasons not to do it in language they
 understand and is meaningful to them or they ignore requirement and it
 becomes useless.

If they ignore the requirement they don't get custom elements...


-- 
https://annevankesteren.nl/



Re: custom elements without the dash

2015-01-05 Thread Steve Faulkner
yeah, it was just explained to me by Mike Smith:
standard custom-elements APIs is that the API doesn’t allow them register
custom elements without a dash

which I did not know :-)

--

Regards

SteveF
HTML 5.1 http://www.w3.org/html/wg/drafts/html/master/

On 5 January 2015 at 14:10, Anne van Kesteren ann...@annevk.nl wrote:

 On Mon, Jan 5, 2015 at 3:03 PM, Steve Faulkner faulkner.st...@gmail.com
 wrote:
  I understand why, its the zillions of developers out there who don't or
  don't care, either they are given good reasons not to do it in language
 they
  understand and is meaningful to them or they ignore requirement and it
  becomes useless.

 If they ignore the requirement they don't get custom elements...


 --
 https://annevankesteren.nl/



Re: custom elements without the dash

2015-01-05 Thread Anne van Kesteren
On Mon, Jan 5, 2015 at 2:42 PM, Steve Faulkner faulkner.st...@gmail.com wrote:
 Why force hyphen in custom elements?

It's already mentioned in that Twitter thread. If somebody created
dialog we could then never standardize an element using that name.


-- 
https://annevankesteren.nl/