[Webkit-unassigned] [Bug 162527] New: Deeply nested phrasing content is parsed incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 24 04:38:27 PDT 2016


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

            Bug ID: 162527
           Summary: Deeply nested phrasing content is parsed incorrectly
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sindre at identu.no
                CC: cdumez at apple.com

Example URL: http://codepen.io/somebee/pen/mAWBaq

Steps to reproduce the problem:
1. Write 5 levels of nested phrasing content (the nested tags must be of the same type, but it happens for any phrasing type).
<b><b><b><b><b>TEXT</b></b></b></b><i>TEXT</i></b>
See that this is parsed as expected.

2. Add any attribute to the outermost node:
<b title='top'><b><b><b><b>TEXT</b></b></b></b><i>TEXT</i></b>
See that any children except the first will be parsed outside of the outermost node.

Adding an attribute to a node should not make the html unwrap and restructure the fully valid html.

It works in Firefox and IE. Chrome (all versions of Chrome/Chromium tested) has the same issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160924/66e9729c/attachment.html>


More information about the webkit-unassigned mailing list