[Webkit-unassigned] [Bug 6302] New: Problem with incorrectly nested HTML tags
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Fri Dec 30 05:01:29 PST 2005
http://bugzilla.opendarwin.org/show_bug.cgi?id=6302
Summary: Problem with incorrectly nested HTML tags
Product: WebKit
Version: 412+
Platform: Macintosh
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: markus.dehmann at gmail.com
CC: hyatt at apple.com
If a "bold" tag is not closed in the current nesting element, but in a later element, safari ignores it. Here
is a mini example (I hope bugzilla displays the HTML correctly):
<html><body>
<div><p>plain<b>bold</p></div>
<div><p></b>plain</p></div>
</body></html>
The second "plain" is plain in firefox and opera, as expexted, but safari makes it bold. In safari, it is
not possible to close the b tag after p and div have closed.
Of course, the HTML is invalid, but safari should deal with it. Making the second "plain" plain and not
bold would be the expected behavior.
The problem occurred in a web forum where one user used a b tag in his posting, but did not close it.
The posting was automatically enclosed in p and div tags. Now, all subsequent postings were in bold
font (see http://wahnzeit.libsyn.com/index.php?post_id=38396&comments=on).
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list