Closed
Bug 2946
Opened 26 years ago
Closed 24 years ago
Page [with odd <!--/--> in STYLE] does not display at all!
Categories
(Core :: DOM: HTML Parser, defect, P2)
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: ian, Assigned: harishd)
References
()
Details
(Keywords: regression, verifyme)
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
This page loads (I think) but does not display. It does not crash, either.
I tried going to File|View Source, but that only showed the DOCTYPE line
(top line of the document, in this case).
The page contains lots of CDO/CDC (<!--/-->) in a <STYLE> block, maybe that is
what is confusing it. It was working fine before I added the extra CDO/CDC.
If that is the problem, Peter Linss may be able to fix it.
Reporter | ||
Updated•26 years ago
|
Summary: Page does not display at all! → Page [with odd <!--/--> in STYLE] does not display at all!
Reporter | ||
Comment 2•26 years ago
|
||
As per recommendation from Peter Linss, here are some additional details.
This is an extract from section 6.2 of the HTML4 spec.
http://www.w3.org/TR/REC-html40/types.html#h-6.2
--------------- Additional Comments from the HTML 4.0 Specification
---------------
STYLE and SCRIPT elements use CDATA for their data model [...]. Markup and
entities must be treated as raw text and passed to the application as is.
The first occurrence of the character sequence "</" (end-tag open delimiter)
is treated as terminating the end of the element's content. In valid
documents, this would be the end tag for the element.
----------- End of Additional Comments from the HTML 4.0 Specification
------------
Note that this means that <!-- and --> should *not* be parsed inside
<STYLE> and <SCRIPT> blocks.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Reporter | ||
Comment 4•26 years ago
|
||
The uri is correct. I just checked it using Opera 3.51.
Reporter | ||
Updated•26 years ago
|
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
QA Contact: 4141
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
It's mine..I think....
Assignee: rickg → harishd
Status: ASSIGNED → NEW
Ian, could you provide me with a reduced case? Thanx
Status: NEW → ASSIGNED
Reporter | ||
Comment 9•25 years ago
|
||
*confused*
Um, there may be a problem with that. I just rechecked it and it seems to be ok.
Errr.... ??!?!
Ok, I'll get back to you once I've crunched some more test cases...
Assignee | ||
Comment 10•25 years ago
|
||
I think this bug is invalid. But to be on the safer side..I'm going to disable
CDO/CDC inside STYLE. Setting M16.
Target Milestone: --- → M16
Comment 11•25 years ago
|
||
What does disabling them inside of STYLE mean? They should not be treated as
comments inside STYLE or SCRIPT...
Assignee | ||
Comment 12•25 years ago
|
||
In quirks mode I enabled CDO/CDC inside CDATA.and I would like it to be so only
for contents within SCRIPT. Content inside STYLE ( and other CDATA section )
will be treated purely as CDATA. Does that answer you question?
Assignee | ||
Comment 13•24 years ago
|
||
Assignee | ||
Comment 14•24 years ago
|
||
Changes are in. FIXED ( killing a dead snake ).
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•