Closed
Bug 213383
Opened 22 years ago
Closed 22 years ago
<p<strong> should not be parsed as <p><strong>
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jruderman, Assigned: harishd)
References
()
Details
(Keywords: testcase)
Attachments
(2 files)
All of the text on http://www.somethingawful.com/articles.php?a=440&p=2 is bold
in Mozilla. The culprit is the invalid HTML "<p<strong>". IE, Opera, and
Netscape 4 all ignore the tag, but Mozilla treats it as a <P> tag followed by a
<STRONG> tag.
Reporter | ||
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
Correct parsing is determined by the W3C specification, not by what other
browsers do.
This is a valid, albeit narrowly supported, HTML shortcut.
Recommend INVALID.
Comment 3•22 years ago
|
||
Agreed, this is a legitimate use by the SGML rules governing HTML. Teh SMGL
mastar JeffK could have told you that. ;-)
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 4•21 years ago
|
||
*** Bug 226495 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 5•21 years ago
|
||
From the dup: if a server strips out <> but not < by itself, this can lead to
XSS problems (testcase: http://smgl.positivism.org/music/indexvuln.html).
The corresponding view-source bug is bug 70918.
You need to log in
before you can comment on or make changes to this bug.
Description
•