Closed
Bug 509009
Opened 17 years ago
Closed 16 years ago
[HTML5][Patch] <!-- inside an xmp element is occasionally a problem
Categories
(Core :: DOM: HTML Parser, defect, P1)
Tracking
()
RESOLVED
FIXED
People
(Reporter: john.s.thomsen, Assigned: hsivonen)
Details
Attachments
(1 file)
|
527.34 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090806 Minefield/3.6a1pre
Reproducible: Always
Steps to Reproduce:
1. Set html5.enable true in about:config
2. Load this document:
data:text/html,<xmp><!--</xmp>
Actual Results:
The page shows the text:
<!--</xmp>
Expected Results:
The page should only show the text:
<!--
In contrast to the about doc, the following document:
data:text/html,<xmp><!--xmp--></xmp>
behaves as expected, because it shows and only shows the content of the xmp element:
<!--xmp-->
| Assignee | ||
Comment 2•17 years ago
|
||
Is this a problem with a published Web page out there?
For reference, WebKit and IE reparse with <xmp>:
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/201
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/202
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 3•17 years ago
|
||
I wrote up a relatively radical proposal for a fix:
http://wiki.whatwg.org/wiki/CDATA_Escapes
| Assignee | ||
Updated•16 years ago
|
Priority: -- → P1
| Assignee | ||
Comment 4•16 years ago
|
||
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED
| Assignee | ||
Updated•16 years ago
|
Summary: [HTML5] <!-- inside an xmp element is occasionally a problem → [HTML5][Patch] <!-- inside an xmp element is occasionally a problem
| Assignee | ||
Comment 5•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•