Closed Bug 309715 Opened 19 years ago Closed 19 years ago

<xml> tags in the head do not hide their content

Categories

(Core :: DOM: HTML Parser, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: liuwangxia, Assigned: mrbkap)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050918 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050918 Firefox/1.6a1

Firefox can't render that URL properly, some text should be in the table, but
Firefox show the source at the top of the rendered page.

Reproducible: Always

Steps to Reproduce:
1.Just browse that URL.
Actual Results:  
many page from this site can't be rendered properly in Firefox with the same error.

Expected Results:  
Rendered that URL properly
Attached file testcase
It seems that the <xml>-tag is something special in IE6 and it keeps the
<xml>-tag and content inside the <head>.
Assignee: nobody → mrbkap
Status: UNCONFIRMED → NEW
Component: General → HTML: Parser
Ever confirmed: true
Keywords: testcase
OS: Windows XP → All
Product: Firefox → Core
QA Contact: general → parser
Version: unspecified → Trunk
I'm really loathe to add such a quirk. I cast a vote for WONTFIX/evangelism.
As long as this is not a common "data islands" technique or something, I agree.
This isn't something I have been tracking when trolling the web, but will add it
to my list. I'm in the middle of a multiday run now, so don't expect answers
until next week.
Bob, any luck?
Link to Microsoft's documentation:
http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/xml.asp

Maybe it's at least worth it to add XML to the hidden elements in html.css.
(In reply to comment #5)
> Bob, any luck?

I forgot. I will start a scan today. Sorry.
(In reply to comment #6)
> Maybe it's at least worth it to add XML to the hidden elements in html.css.

Unfortunately, that won't help this case since we don't treat userdefined tags as containers in the HEAD section of a document. The reason the text is showing up is that the <xml> tag isn't containing it and keeping it in the head. Fixing this might require adding a new "xml" element.

Someone should feel free to resummarize better than my new summary.
Summary: Firefox can't render that URL properly. → <xml> tags in the head do not hide their content
this is _so_ wontfix...
Okay. Bob, if you get numbers on this to show that it's something we really should consider, put them here. Otherwise, I'll follow Ian's request.

Note the easy workaround from a web site's point-of-view would be to have an |xml { display: none}| style somewhere and to move the <xml> tag into the BODY.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: