The details element

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