Closed Bug 94381 Opened 23 years ago Closed 22 years ago

msnbc.com - Javascript errors on noted URL, white square appears, fine in NS4.78

Categories

(Tech Evangelism Graveyard :: English US, defect, P1)

x86
Windows 98
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 87473

People

(Reporter: neutropenia, Assigned: bc)

References

()

Details

(Whiteboard: [SYNTAX-JS])

load this url http://www.msnbc.com/news/default.asp

note the 2 white squares appearing on the left. Javascript console reports an
error and a warning

Win98SE, build 2001080712
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for
details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
Yuck. Very ugly. Yeah, this is real. 2001081108 win32
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P1
Summary: Javascript errors on noted URL, white square appears, fine in NS4.78 → msnbc.com - Javascript errors on noted URL, white square appears, fine in NS4.78
Reproduced in In Win N6.1 mozilla trunk build 20010830. At http://www.msnbc.com,
which redirects to the above url, the entire center of the screen is also blank.
In IE 5.5, it contains graphics and headline data.

Also, there is a menu display problem. The horizontal topic menus (News,
Business, Sports, etc.) should be part of the sidebar (like in IE5.5). 
Just some updates here ABOUT THE NEWS AREA in the top 
-----------------------------------------------------

The NEWS area in the top is DHTML/JS code that alternate visitiliby of two span
elements. They use a SPAN->DIV, but only using the SPAN as a container to set
display property of the DIV block. So some points: 

1) there is something DOM Style probably (bug 97874) that really fails. That's
why we have the bad layout efect after 1 cycle complete of news (animation loop).

2) we do have one evangelism bugscape evangeslism incident (assigned to me
mgalli@netscape.com) 

3) I tested some workarounds, so my (QuickFix) evangelism diagnose is to use DIV
DIV or not change the markup and alternate between (block and none) instead
(inline and none). I tested this workaround.

Bob, you can assign to me just in case you feel that I am not involved in this
case, otherwise, please let me know and I assign the bugscape version to you. 

/\/\
I've written them about this in the past; the SPAN they use to enclose the DIV
gets implicitly terminated by the DIV, so it can't do anything to affect the
visibility of the DIV.  Of course, IE is sloppy about the DOM tree and so it
works in IE.  Here's an excerpt from the message I sent them:
--------------------------------------------------------------
 On the home page of MSNBC, I noticed that your "newsticker" at the top of the
page displays all three items, one after another, in Netscape 6.  This
dramatically degrades the page's layout.  After some poking, I discovered that
the problem could be fixed by converting your span.cms elements to div.cms
elements.  You're wrapping DIVs wiuth SPANs, which isn't permitted in HTML4.01,
and thus the 'display: none' doesn't get applied to the DIVs in Netscape 6.
   While I was poking around your CSS,I noticed that there were some errors
there as well, such as not preceding hexadecimal color values with hash marks
(#) and other small errors.  I'd be happy to work with your design team to clear
these up, and to help out with similar issues.  I can be reached at
emeyer@netscape.com.  I look forward to hearing from you
soon!--------------------------------------------------------------

So far, I've only gotten automated acknowledgments, but since I've sent messages
twice they ought to be aware of it by now.
Blocks: 87471
*** Bug 107131 has been marked as a duplicate of this bug. ***
Whoah.  Is it just me or did they finally fix their d--- page (as far as the
div/span/white block stuff goes)?

Not that the page even REMOTELY validates, but it's a start.
looks very fine to me! yay! -> fixed
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Refreshed page twice, both sides look like white,empty blocks are blocking
stuff.  Also, JS warning:

Warning: test for equality (==) mistyped as assignment (=)?
Source File:
http://a799.ms.akamai.net/3/799/388/4530bc40b7f408/www.msnbc.com/tools/nm/nmjs02.js
Line: 1, Column: 31
Source Code:
ce(1);if(dxCli=body.clientWidth){dyCli=body.clientHeight;dxOff=body.scrollLeft;dyOff=body.scrollTop;}else{dxCli=window.innerWidth-14;dyCli=window.innerHeight-15;dxOff=window.pageXOffset;dyOff=window.pageYOffset;}var
oX=new nm_xy(o,body),xPar=oX.x,yPar=oX.

2002030908/WinXP
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [SYNTAX-JS]
*** Bug 140499 has been marked as a duplicate of this bug. ***
->evang500
Keywords: evang500
eta in a week or so. 
Status: REOPENED → ASSIGNED
Target Milestone: --- → Oct
hmmm, really a dupe of bug 87473

*** This bug has been marked as a duplicate of 87473 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago22 years ago
Resolution: --- → DUPLICATE
v
Status: RESOLVED → VERIFIED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.