W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2009

[Bug 7509] New: Consider <dl type="dialog"> instead of <dialog>

From: <bugzilla@wiggum.w3.org>
Date: Sun, 06 Sep 2009 22:47:19 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-7509-2486@http.www.w3.org/Bugs/Public/>

           Summary: Consider <dl type="dialog"> instead of <dialog>
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: http://dev.w3.org/html5/spec/Overview.html#the-dl-
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: xn--mlform-iua@xn--mlform-iua.no
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org

Some argument for choosing <dl dialog> or <dl type="dialog"> instead of

(1) Breakability:

[Relates to In IE, Firefox, Opera and Webkit ]

When used inside <dl> it is OK to not close <dt> and <dd>. But inside a new
element, such as <dialog>, legacy (aka current) user agents will make the first
element after </dialog> in the following example a child of the preceding <dd>:


Same goes for the following example, except that it becomes a child of the
unclosed <p>

    <dialog><dt>Name<dd>Word <p>Paragraph.</dialog>

(2) Bug 7508: There is no reason to have different rules for where <dt> is
permitted when used inside <dialog> and when used inside <dl>.

(3) HIstory: HTML 4 reccommeds dialogs inside <dl>

(4) Future: As HTML developes, one might want to use <dl> for other types of
lists as well - an attribute solution sets a precedence for such extensions.

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 Sunday, 6 September 2009 22:47:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:00 UTC