Bug 24032 - content doesn't load in center column
Summary: content doesn't load in center column
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://pizzahut.co.in/whatsHot.php?wID=1
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2009-02-19 11:10 PST by jasneet
Modified: 2011-04-17 00:08 PDT (History)
3 users (show)

See Also:


Attachments
reduced testcase (751 bytes, text/html)
2009-02-19 11:11 PST, jasneet
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jasneet 2009-02-19 11:10:46 PST
I Steps:
Go to http://pizzahut.co.in/whatsHot.php?wID=1

II Issue:
content doesn't load in center column.

III Conclusion : 
There are two <body> definitions in the source code, which is the cause of this issue.

The first is like:
......
<body onload="showHOT('hot',4,0)">
......
The onload handler "showHOT" is used to call AJAX to display the dynamic content which is missing in Chrome/Safari.

The second is like:
.....
<body onload="MM_preloadImages('images/MenuButton/pri-menu-dining.gif','images/MenuButton/pri-menu-
delivery.gif','images/MenuButton/pri-menu-whatshot.gif','images/MenuButton/pri-storelocator.gif','images/MenuButton/pri-menu-
vipmember.gif','images/MenuButton/pri-menu-feedback.gif')">
.....
This is used to preload some images.

IE/Firefox executes the FIRST body's onload handler, however Chrome/Safari executes the SECOND body's onload handler, this is the cause why the dynamic content is not showing in Chrome/Safari.

IV Other Browsers:
IE7: ok
FF3: ok

V Nightly tested: 41018

Bug in Chromium : http://code.google.com/p/chromium/issues/detail?id=5500
Comment 1 jasneet 2009-02-19 11:11:04 PST
Created attachment 27800 [details]
reduced testcase
Comment 2 Yair Yogev 2011-04-15 12:48:08 PDT
WebKit now behaves the same as FF4 in the testcase