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

Re: HTML is a declarative mark-up language

From: Maciej Stachowiak <mjs@apple.com>
Date: Thu, 29 Jan 2009 16:04:37 -0800
Cc: Ian Hickson <ian@hixie.ch>, Jirka Kosek <jirka@kosek.cz>, HTML WG <public-html@w3.org>
Message-id: <06B7423E-1E5A-44A4-BD1B-60981F6FBD24@apple.com>
To: "L. David Baron" <dbaron@dbaron.org>


On Jan 29, 2009, at 3:37 PM, L. David Baron wrote:

>
> On Thursday 2009-01-29 23:30 +0000, Ian Hickson wrote:
>> So you are asking for a link saying "Common attributes" linking to:
>>
>>   http://www.whatwg.org/specs/web-apps/current-work/#global- 
>> attributes
>>
>> ...to be added to every element's definition?
>>
>> I've so far tried to avoid redundant links like that.
>
> I think that's actually quite useful, since it makes it a good bit
> easier to use the spec as a reference, and to understand parts of
> the spec by exploring from a piece in the middle.

I agree that it would be convenient for reference purposes, even  
though strictly speaking redundant. One difficulty I have had with  
other specs, both as implementor and content author, is that it is  
sometimes hard to figure out what attributes (or APIs or content  
model) apply to a given element, so I know how to use it properly. For  
example, with the SVG 1.1 spec I have to read chunks of schema  
scattered over many parts of the document to know what attributes apply.

To be fair though, this has been less of a problem with the HTML5  
draft since I know there are exactly two places to look -- the  
definition of the element and the list of global attributes.

Regards,
Maciej
Received on Friday, 30 January 2009 00:05:25 GMT

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