- From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Date: Fri, 18 Sep 2009 20:18:23 +0200
- To: Shelley Powers <shelleyp@burningbird.net>
- CC: Lars Gunther <gunther@keryx.se>, public-html@w3.org
Shelley Powers On 09-09-18 17.45: > Leif Halvard Silli wrote: >> Lars Gunther On 09-09-18 16.21: >>> 2009-09-18 02:51, Leif Halvard Silli skrev: >>>> Another "fun" effect: What if the <h1> would be the very last element? >>>> (<figure> allow the caption as last element.) >>> Which means that all of a sudden dd can come before dt? That would be >>> counter intuitive. >> Yes, that is part of the current solution to figure in the draft. (And >> I admit responsibility for having suggested it [1].) >> >> [1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=6543#c5 > Well, I've re-opened the bug, so to speak. Actually, two bugs: one for > the redefinition and reuse of dt/dd generally; one specific to Figure. Good! ;-) > This, again, will just cause confusion to web page authors. [...] > We can't say dt/dd are term/value pairs any longer, because usage isn't > always based on an equal number of both. > We can't count on dt being present, or even first. > We can't count on dd being present, or even last. > > The syntactic rules (content model) are becoming increasingly arcane. > There's definitely little or no semantic similarities to the three > different usages any longer. In that e-mail message I pointed to above, I said something about IE6 compatibility as justification. However, that was wrong: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/235 (The point with that demonstration is that if you remove the dt(dd element that currently is the last element, then there is no problem anymore.) In that test I only looked at <figure>, but <details> has the same problem. Provided we count in JavaScript - then minting a new element name should be more compatible. How would this taste? Should be easy to learn, I think: <figure> <fcaption>figure Caption</fcaption> <fbody>figure body</fbody> </figure> <details> <dcaption>figure Caption</dcaption> <dbody>figure body</dbody> </details> -- leif halvard silli
Received on Friday, 18 September 2009 18:19:05 UTC