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

[Bug 12359] If the content model says it can only contain dt and dd elements then why does it say further down "if a dl contains [...] elements other than dt and dd [...]?

From: <bugzilla@jessica.w3.org>
Date: Fri, 25 Mar 2011 17:50:03 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Q3B99-0000rH-1F@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12359

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #5 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2011-03-25 17:50:02 UTC ---
If you were to write a validator, I hope you'd read the whole spec, not just
refer to one part and take it out of context.  Specifically:

"An HTML element must have contents that match the requirements described in
the element's content model."
http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html#content-models

"Content model:
Zero or more groups each consisting of one or more dt elements followed by one
or more dd elements."
http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element

However, it would arguably be good to be clearer about this, so I think we
should leave the bug open and not try to preempt Ian's decision.

-- 
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 Friday, 25 March 2011 17:50:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 25 March 2011 17:50:04 GMT