W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Re: ISSUE-41/ACTION-97 decentralized-extensibility

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Mon, 26 Oct 2009 12:19:31 +0100
Message-ID: <4AE585C3.5060901@xn--mlform-iua.no>
To: Lee Kowalkowski <lee.kowalkowski@googlemail.com>
CC: Tony Ross <tross@microsoft.com>, Maciej Stachowiak <mjs@apple.com>, "public-html@w3.org" <public-html@w3.org>
Lee Kowalkowski On 09-10-26 09.53:

> 2009/10/24 Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>:
>> 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
> 
> I followed that thread and found this example:
> 
> <p#myid.myclass1.myclass2>...</p> is equivalent of
> <p id="myid" class="myclass1 myclass2">...</p>
> 
> ...but we can't have that because an ID may contain a period.  We'd
> have to do something like put class names first to prevent <p
> id="myid.myclass1.myclass2">, or have spaces between them.

Class names may also contain a period. But we don't need to 
swallow Håkon's proposal whole. If the purpose is extensibility + 
readability, then one could

* disallow anything but class names;
* disallow certain characters in shorthand notation;
-- 
leif halvard silli
Received on Monday, 26 October 2009 11:20:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:50 GMT