[Webkit-unassigned] [Bug 47997] New: [HTML5] HTML5 parser indents list items inside definition lists

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 20 12:03:57 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47997

           Summary: [HTML5] HTML5 parser indents list items inside
                    definition lists
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mihaip at chromium.org
                CC: abarth at webkit.org
        Depends on: 41115


For the input:

 <dl>
   <dd><li>item 1
   <dd><li>item 2
</dl>

(also in the attachment), item 2 is indented under item 2 in ToT WebKit and Chrome. The DOM that I see there:

<dd>
  <li>
    item 1
    <dd>
      <li>item 2</li>
    </dd>
  </li>
</dd>

The DOM with Safari 5.0.2 (which displays item 1 and 2 as siblings):

<dd>
  <li>item 1</li>
</dd>
<dd>
  <li>item 2</li>
</dd>

The DOM with Firefox 4.0b6 (which also displays them as siblings):

<dl>
  <dd>
    <li>
      item 1
      <dd>
        <li>item 2</li>
      </dd>
    </li>
  </dd>
</dl>

The interesting thing is that the DOM is basically the same in Firefox 4.0 and ToT, but they render the two items at the same indentation level anyway.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list