- From: <bugzilla@jessica.w3.org>
- Date: Tue, 09 Aug 2011 07:26:45 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13707 Michael[tm] Smith <mike@w3.org> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.w3.org/mid/20110 |http://www.w3.org/mid/20110 |8082100.34840.bert@w3.org |8082100.34840.bert@w3.org --- Comment #1 from Michael[tm] Smith <mike@w3.org> 2011-08-09 07:26:45 UTC --- [[ A personal comment on http://www.w3.org/TR/2011/WD- html5-20110525/interactive-elements.html#the-details-element The DETAILS element (finally!) introduces the traditional hypertext feature of expanding text (“stretch text”) into HTML. However, there are two problems. Current CSS cannot express the desired behavior of the DETAILS element. Although there have been proposals in the past, none have yet been published by the CSS WG and the HTML WG hasn't asked the CSS WG for this feature either. Putting DETAILS in a last-call document when the corresponding CSS isn't even a WD yet seems a bit premature. Moreover, all the (informal) proposals in CSS so far have dealt with collapsing elements where the parts to show and the parts to hide were elements or attributes (e.g., LI elements or TITLE attributes). Maybe it is possible to invent pseudo-elements for the collapsible content of the DETAILS element, but it is probably better to add a real element, e.g.: <DETAILS><SUMMARY>…</SUMMARY><BODY>…</BODY></DETAILS>. At least the choice of mark-up needs further investigation and should be coordinated with the CSS WG. (HTML has always had a similar problem with the DT/DD pair. CSS had to invent 'compact' and 'run-in' to deal with the absence of a DI element to group related DT and DD elements together, but it still cannot solve the case where two or more DTs belong to a single DD. Nobody can be blamed for that mark-up, however, because it was invented before CSS. But now that CSS exists, HTML has to be designed to match it.) ]] -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Tuesday, 9 August 2011 07:26:46 UTC