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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=7509

           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-
                    element
        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
<dialog>:

(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>:

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

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

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

(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