[whatwg] Adding obsolete elements/attributes to indexes

2014-01-23 Thread Simon Sapin

Hi,

The HTML spec has an Index section, with tables of all existing 
elements, attributes, and other things. I find this very helpful.


When considering what Servo should implement, I mistakenly concluded 
that li elements do not have a 'type' attribute, based on the Index. 
They in fact do, as specified in the Obsolete features section.


That such features are in the spec at all, even though authors must 
not use them, probably means that Servo needs to implement them. 
However these features are not mentioned at all outside of the Obsolete 
features section, to it’s not easy to discover that they even exist if 
one does not think of look for Obsolete features specifically.


To help with discoverability of obsolete features by implementers, I’d 
like them to be included in the Index section’s tables.


--
Simon Sapin


Re: [whatwg] Adding obsolete elements/attributes to indexes

2014-01-23 Thread Ian Hickson
On Thu, 23 Jan 2014, Simon Sapin wrote:
 
 To help with discoverability of obsolete features by implementers, I’d 
 like them to be included in the Index section’s tables.

They're explicitly excluded to help with avoiding their discovery by 
authors.

There's a link from any interface that has obsolete IDL members to the 
partial interface that defines those members. As far as non-obsolete 
elements go, I think the only requirements in the obsolete section are 
regarding these obsolete IDL members.


 When considering what Servo should implement, I mistakenly concluded 
 that li elements do not have a 'type' attribute, based on the Index. 
 They in fact do, as specified in the Obsolete features section.

Do you mean a type IDL attribute or a type content attribute? No IDL 
attributes are listed in the index. I don't know what it really means for 
an element to have a content attribute, from an implement's persective.

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Adding obsolete elements/attributes to indexes

2014-01-23 Thread Simon Sapin

On 23/01/2014 08:54, Ian Hickson wrote:

On Thu, 23 Jan 2014, Simon Sapin wrote:


To help with discoverability of obsolete features by implementers, I’d
like them to be included in the Index section’s tables.


They're explicitly excluded to help with avoiding their discovery by
authors.


I see. I still wish there was a version of the indexes for implementers :)



There's a link from any interface that has obsolete IDL members to the
partial interface that defines those members. As far as non-obsolete
elements go, I think the only requirements in the obsolete section are
regarding these obsolete IDL members.



When considering what Servo should implement, I mistakenly concluded
that li elements do not have a 'type' attribute, based on the Index.
They in fact do, as specified in the Obsolete features section.


Do you mean a type IDL attribute or a type content attribute? No IDL
attributes are listed in the index. I don't know what it really means for
an element to have a content attribute, from an implement's persective.


I’m talking about HTML attributes. In this case li type=AFoo/i 
affecting rendering compared to just liFoo/li.


Perhaps elements having an attribute is not the right term, but a 
content attribute having meaning for the UA?


--
Simon Sapin