Closed
Bug 475800
Opened 17 years ago
Closed 17 years ago
HTML Comments that contain un-even number of dashes "<!-- ----Z-- -->" on either side of a charachter or set of characters keeps content that follows from being rendered properly
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 214476
People
(Reporter: lommaj, Unassigned)
Details
Attachments
(1 file)
|
296 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/1.0.154.43 Safari/525.19
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 (.NET CLR 3.5.30729)
If you have a basic HTML page that has a comment that contains dashes such as "<!-- --------some message--- -->" and the dashes on each side of the "some message" are not equal in number (like above) the content that follows will not be rendered until it reaches another comment.
if there is only one on a page it just renders the comment on the page.
use this inside a XHTML 1.0 Strict body:
<p>CAN YOU SEE ME?</p>
<!-- ------test---- -->
<p>CAN YOU SEE ME TOO?</p>
<!-- ------test---- -->
<p>CAN YOU SEE ME Three?</p>
Reproducible: Always
Steps to Reproduce:
1.create an xhtml strict document and place the following in the body:
<p>CAN YOU SEE ME?</p>
<!-- ------test---- -->
<p>CAN YOU SEE ME TOO?</p>
<!-- ------test---- -->
<p>CAN YOU SEE ME Three?</p>
2.View the page in firefox 3
3.Weep!
Actual Results:
CAN YOU SEE ME?
CAN YOU SEE ME Three?
Expected Results:
CAN YOU SEE ME?
CAN YOU SEE ME TOO?
CAN YOU SEE ME Three?
The "CAN YOU SEE ME TOO?" line is selectable, so if you select all and copy and paste it into a text document, it somehow copies all three lines, but the line does not show up in firebug.
Comment 1•17 years ago
|
||
Duplicate of Bug 214476 ?
Comment 2•17 years ago
|
||
This is invalid xhtml, just run it through http://validator.w3.org/ and you'll see the comment errors.
The fact that you can select it is partly bug 39098.
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•