- From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Date: Sun, 25 Oct 2009 00:02:12 +0200
- To: Tony Ross <tross@microsoft.com>
- CC: Maciej Stachowiak <mjs@apple.com>, "public-html@w3.org" <public-html@w3.org>
Tony Ross On 09-10-24 02.05: >Thursday, October 22, 2009 at 4:06 PM, Maciej Stachowiak: >> I also can't think of a lot of use cases for custom elements >> that couldn't be served by a standard element with custom >> attributes, or a special "class" value, or perhaps special >> RDFa or Microdata markup. Thus, I would prefer we only cater >> to custom attributes. > > I think the primary use case is the readability of the source. > I find something like <my-calendar> a bit easier to follow than > <div class="my-calendar"> or <div data-my-type="calendar">. If source readability/short code is the primary usecase, then we should look more thoroughly at the shorthand syntax notation idea that HÃ¥kon brought forward in a thread in February: [1] Normal: <p class="abstract"> Shorthand: <p.abstract> [1] http://lists.w3.org/Archives/Public/public-html/2009Feb/0136 -- leif halvard silli
Received on Saturday, 24 October 2009 22:02:45 UTC