W3C home > Mailing lists > Public > public-html@w3.org > February 2011

The details element

From: Luiz Agostini <luiz@webkit.org>
Date: Fri, 11 Feb 2011 16:42:04 -0300
Message-ID: <AANLkTim8dEVuPkPTGs6WAPkNrkk5-tgm=spkcn=f6WXW@mail.gmail.com>
To: public-html@w3.org
Hi,

I am working on <details> and <summary> implementation in WebKit (see
https://bugs.webkit.org/show_bug.cgi?id=51071). It would be nice to receive
some feedback from this list.

Some questions that I have are:

1 - Should a click on the <summary> toggle the "open" attribute of the
corresponding <details> element?
2 - In the example image seen in
http://www.w3.org/TR/html5/interactive-elements.html#the-details-element there
is a small triangle in the <summary> indicating the current value of the
"open" attribute of the <details>. Should it be rendered by default? Are
there attributes or CSS properties that could be used to change it or remove
it?
3 - Should an event be triggered when the <details> element is opened or
closed?

In Bugzilla you will find a sample HTML that I am using for testing and a
screen shot showing that sample HTML rendered by the proposed patch.

Thank you very much in advance.

Luiz
Received on Saturday, 12 February 2011 22:02:50 UTC

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