Bug 20971 - Video in wrong position @ blizzard.com worldofwarcraft.com
Summary: Video in wrong position @ blizzard.com worldofwarcraft.com
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://www.worldofwarcraft.com/wrath/...
Keywords: NeedsReduction
Depends on:
Blocks:
 
Reported: 2008-09-21 00:12 PDT by Eric Seidel (no email)
Modified: 2008-09-21 12:06 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-09-21 00:12:13 PDT
Video in wrong position @ blizzard.com worldofwarcraft.com

http://www.worldofwarcraft.com/wrath/intro.xml

The video is too low and to the left.  Not sure why.
Comment 1 Dave Hyatt 2008-09-21 00:24:41 PDT
This is a site bug.

http://www.worldofwarcraft.com//wrath/js/functions.js

The printFlash function has an is_safari if statement that document.writes instead of just setting .innerHTML.

Spoofing as e.g., IE7, fixes the bug, since we take the right code path.

Not sure what bug someone thought they were working around. :)

Comment 2 Darin Fisher (:fishd, Google) 2008-09-21 10:40:47 PDT
Funny, this bug doesn't happen in Chrome.  Notice how they compute "is_safari":

var is_safari = ((agt.indexOf('safari')!=-1)&&(agt.indexOf('mac')!=-1))?true:false;
Comment 3 Dave Hyatt 2008-09-21 12:06:55 PDT
I assume it doesn't happen on Safari on Windows then either.  Funny. :)