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

Re: The details element

From: Michael[tm] Smith <mike@w3.org>
Date: Sun, 13 Feb 2011 22:47:28 +0900
To: Luiz Agostini <luiz@webkit.org>
Cc: public-html@w3.org
Message-ID: <20110213134727.GE25920@sideshowbarker>
Hi Luiz,

The subsection on the details element in the Rendering section of the spec
provides some information related to your questions -


That currently doesn't say anything about what the behavior should be for a
click on the contents of the summary element. It just describes what the
expected behavior is if you activate the associated "disclosure widget"
(triangle). As far as your questions about the disclosure widget: the
Rendering section seems to make it clear that it should be rendered by
default, and it does not define any means for changing or removing it --
but I think that's to be expected, since it's consistent with the handling
of similar things like form controls.

As far as your question about the event, the spec currently doesn't define
any event behavior associated with the details element. If you think it
should, you might want to file a bug explaining why:



Luiz Agostini <luiz@webkit.org>, 2011-02-11 16:42 -0300:

> 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

Michael[tm] Smith
Received on Sunday, 13 February 2011 13:47:33 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:09 UTC