[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 [...]?

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 UTC