Closed
Bug 3261
Opened 26 years ago
Closed 26 years ago
View Source collapses linear whitespace sequences
Categories
(Core :: DOM: HTML Parser, defect, P4)
Tracking
()
VERIFIED
FIXED
M6
People
(Reporter: ian, Assigned: harishd)
References
()
Details
The document contains the following:
<STYLE TYPE="text/css">
[...]
--> <!-- --> <!-- -- >
.xf { color: yellow; background: red none; }
</STYLE>
...in the HEAD. The View Source displays the following:
<STYLE TYPE="text/css">
[...]
--><!-- --><!-- -->.xf { color: yellow; background: red none; }
</STYLE>
I believe this is a parser bug that is also causing bug #2781.
(Note that viewsource gets a lot else wrong in that STYLE block, I am
merely quoting the end part because that is what I noticed first.)
Updated•26 years ago
|
QA Contact: 3847 → 4110
Comment 1•26 years ago
|
||
reassigning qa contact to chrisd
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Comment 5•26 years ago
|
||
Marking FIXED per engineer's 4/6 comments
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 6•26 years ago
|
||
Verified fixed.
Reporter | ||
Updated•26 years ago
|
Status: VERIFIED → REOPENED
Summary: View Source incorrectly lays out CDO/CDC in STYLE block → View Source collapses linear whitespace sequences
Reporter | ||
Comment 7•26 years ago
|
||
At the test uri given, the following markup:
<DIV> Some Markup Here </DIV>
...gets displayed like this:
<DIV> Some Markup Here </DIV>
...in ViewSource.
This collapsing of linear whitespace only appears to occur in lines. That is,
vertical whitespace (line feeds, carriage returns) are not collapsed.
Furthermore, the whitespace collapsing does not occur after start tags or in
comments. It _does_ occur in CDATA sections (eg, STYLE element content).
Comment 9•26 years ago
|
||
Please clear FIXED resolution if this is still a bug.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Comment 10•26 years ago
|
||
Fixed by latest update to parsing engine.
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•