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

Re: <details>

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 14 Sep 2009 15:21:35 +0200
To: "Toby Inkster" <tai@g5n.co.uk>
Cc: "Jeremy Keith" <jeremy@adactio.com>, "Ian Hickson" <ian@hixie.ch>, "HTML WG" <public-html@w3.org>
Message-ID: <op.uz80p9xm64w2qv@annevk-t60>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:08 UTC