Re: <details>

On Mon, 14 Sep 2009 15:12:51 +0200, Toby Inkster <tai@g5n.co.uk> wrote:
> On 14 Sep 2009, at 12:38, Anne van Kesteren wrote:
>> One thing I'm afraid of is that if people start using <details>
>> before implementations are ready is that implementations can no
>> longer provide the functionality of <details> natively. From that
>> perspective I'm sort of happy authors cannot use it yet.
>
> I take it you mean that if people start implementing the show/hide
> functionality of <details> in Javascript, this would interfere with
> native show/hide functionality?

Right.


> This would be a reason to add <script implements> to HTML5. The HTML5
> documentation would define a URI that represents the functionality of
> the <details> element, say: [...]

The design of this construct does not seem resilient against the  
copy-and-paste cargo-cult pattern.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 14 September 2009 13:22:40 UTC