Closed
Bug 233000
Opened 21 years ago
Closed 20 years ago
CDATA area shows when it should be invisible. Seems to happen whenver there is a "< >" element
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: baswanson, Unassigned)
Details
Attachments
(1 file)
414 bytes,
text/html
|
Details |
User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7 The html looks like this: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <xml id="ssInfo" style="DISPLAY: none" warning="DO NOT MODIFY!"> <ssinfo> <querytext><![CDATA[dDocType <substring> `WebContent` <AND> xCollectionID >= `9` <AND> xCollectionID <= `9` <AND> xWebsiteContentType <substring> `Company Announcement`]]></querytext> </ssinfo> </xml> <title>Title</title> </head> <body> Test </body> </html> Nothing in the XML attribute should be displayed, yet it does. Reproducible: Always Steps to Reproduce: 1. copy the about HTML into a text file 2. view HTML in browser 3. Actual Results: `WebContent` xCollectionID >= `9` xCollectionID <= `9` xWebsiteContentType `Company Announcement`]]> Test Expected Results: Test I'm assuming the reason that the CDATA is displaying is 'cause there are "<tags>" tags in the CDATA. Not sure what the deal is. Seems to work in other browsers.
Did you give the file the correct extension .xhtml or .xml? If I name the file "testcase.xhtml" or "testcase.xml" it works, whereas I see the problem you described if ia name it "testcase.html". Depending on the file extension it triggers the quirks or the standards mode, which results in different rendering. If this doesn't work, can you try a newer nigthly? WFM on Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040110 Firebird/0.8.0+ an Win 2000
The content does not have an extenssion in my case because it is being generated by a service request, not a static page. The Content-Type is text/html. I've tried a new build but still doesn't fix the problem.
Comment 3•20 years ago
|
||
Happens in Seamonkey too.
Component: General → Layout
Product: Firefox → Browser
Version: unspecified → Trunk
Comment 4•20 years ago
|
||
Updated•20 years ago
|
Assignee: firefox → nobody
QA Contact: core.layout
text/html means backwards-compatible HTML. text/xml, application/xml, application/xhtml+xml (preferred), etc. mean XHTML. CDATA sections should work only in the latter.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
How is this bug clossed now?
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
*** This bug has been marked as a duplicate of 10512 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•