Closed Bug 31873 Opened 25 years ago Closed 24 years ago

www.redhat.com looks totaly wacked

Categories

(Core :: DOM: HTML Parser, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: foobar, Assigned: harishd)

References

()

Details

Attachments

(1 file)

In pulling up http://www.redhat.com/ the page is totaly screwed up.  The top
part of the page (as seen by IE) is actually shown after the 'content' part of
the page.

Normal:
_____________________
| Redhat.com         |
|March 14, 2000      |
|--------------------|
|WONews| Search      |
|      | other stuff |
|      |             |
|------|             |
|RH Nws|             |
|      |             |
----------------------

Mozilized:
_______________________
|    RH News          |
|---------------------|
| Other Stuff         |
|---------------------|
| RedHat.com          |
| March 14, 2000      |
|---------------------|
|WO News| Search      |
|       |             |
|_____________________|

Ok, so my ASCII art sucks, but you get the idea.

Build is 2000031412 on Win98.
Bug does not exist in Linux nightly build 2000031315. 

About to grab a new nightly build to see if the problem was merged in today.
This seem to occure on pages that use document.write in the head.

On that page the some javascript like this one

<SCRIPT LANGUAGE="Javascript1.2">
<!-- 
if (navigator.platform.indexOf("Linux") != -1)	{
	document.write("<LINK REL=\"stylesheet\" TYPE=\"text/css\" 
HREF=\"/css/home_lx.css\">");
}
else if (navigator.platform.indexOf("Win") != -1)	{
	document.write("<LINK REL=\"stylesheet\" TYPE=\"text/css\" 
HREF=\"/css/home_win.css\">");
}
else {
	document.write("<LINK REL=\"stylesheet\" TYPE=\"text/css\" 
HREF=\"/css/home_nitpick.css\">");
}

// -->
</SCRIPT>

The same problem is on http://www.zdnet.com or http://www.ringana.com
All these pages use a document.write to insert a style to load.

Maybe document.write is to slow.

This occures on Win95,98,NT
This bug most definately does NOT appear in the Linux build.



(Nightly build 2000031418)



This occured also on the latest builds on Windows.
2000-03-14-12-M15 and with 2000-03-14-20-M15-nb1b.

When the www.zdnet.com page is saved to local harddisk, the page looks a little 
bit different but not correct (Timing problem).
When the Redhat page page is saved to the hd, it does not occure anymore. 
Stylesheet could not be loaded anymore.
I'm seeing this as well on Linux build 2000.03.15.09.  I saved the file to disk
and played around with the headers.  The problem is still there when I leave in

<SCRIPT>
	document.write("<LINK REL=stylesheet>");
</SCRIPT>

but disappears if I change it to

<SCRIPT>
	document.write("<LINK>");
</SCRIPT>

It also disappears if I replace the entire script with just

<LINK REL=stylesheet>

which is what the script is supposed to be equivalent to.

CC rickg for parser and jst for JS.  Please have a look.
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Same brobelm as bug 32094--document.write.  -> harishd
Assignee: karnaze → harishd
Component: HTMLTables → Parser
QA Contact: chrisd → petersen
Also happens on http://www.babelfish.altavista.com/.  Does that make it top100? 
The problem was caused due to parser context mismatch.

FIXED now.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Both redhat and babelfish looking good on Linux build 2000.03.18.08. Marking
VERIFIED.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: