[Webkit-unassigned] [Bug 32747] New: "Unmatched </p> encountered. Converting </p> into <p></p>." does not tell the truth

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 18 15:37:45 PST 2009


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

           Summary: "Unmatched </p> encountered.  Converting </p> into
                    <p></p>." does not tell the truth
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jurekraben at googlemail.com


This html code:

<p>Something<br /><h2>Headline in paragraph causes wrong error</h2></p>

causes Safari to insert an additional p-tag, what does not make sense. The
error message is this one:

"Unmatched </p> encountered.  Converting </p> into <p></p>."


This message is wrong, because there is no tag missing, only the combination is
not good. Headlines maybe are not allowed within paragraph-tags. But why is
Safari changing the html-code? The resulting code after parsing looks like
this:

<p>Something<br /></p><h2>Headline in paragraph causes wrong error</h2><p></p>

So also stylesheets targeting "p h2" will not match anymore.

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