Issue 2081: Javascript dropdown menu is not executed, spans entire page
http://code.google.com/p/chromium/issues/detail?id=2081
Comment #2 by [EMAIL PROTECTED]:
[Works as Intended]
The problem is the site tests navigator.vendor for "Apple Computer, Inc."
Chrome now gives "Google Inc."
I recommend modifying the site code to instead test for WebKit in the user
agent
string (which is the rendering engine used in both safari and chromium:
var isWebKit = /AppleWebKit/.test(navigator.userAgent);
The specific problem codepath goes like:
****************************
** 1. [udm-contro.js]
****************************
um.s=(navigator.vendor=='Apple Computer, Inc.')
// In chromium, um.s = false, in safari um.s = true
****************************
** 2. [udm-control.js]
****************************
um.ss=(um.cns&&typeof um.m.styleSheets!=um.un&&!(um.s||um.k||um.mx))
// In chromium, um.ss = true, in safari um.ss = false
****************************
** 3. [udm-style.js]
****************************
if(um.ss||
um.o73){um.at={'type':'text/css','media':'screen,projection'};um.stn=um.cre
ateElement('html:style',um.at);document.getElementsByTagName('head')[0].appendChild(u
m.stn);
// um.073=0. In chromium um.ss=true so this if block is entered. Whereas in
safari
um.ss=false so the block is not entered. The block does some webkit
unsupported style
operations which throw DOM exception in both chromium and safari.
Issue attribute updates:
Status: WontFix
Cc: [EMAIL PROTECTED]
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---