[Webkit-unassigned] [Bug 19838] Top menu layout broken at www.ati.su
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 1 00:48:36 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=19838
webkit at blaut.biz changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |webkit at blaut.biz
Component|Layout and Rendering |Evangelism
Keywords|NeedsReduction |
OS/Version|Mac OS X 10.5 |All
Platform|Macintosh |All
------- Comment #1 from webkit at blaut.biz 2008-07-01 00:48 PDT -------
It's an evangelism issue. Menu works fine when Safari uses Firefox User Agent.
http://www.ati.su/ScriptResource.axd?d=OPZPYRY9FNX5cM9gnPsEvN9mVsee7Kvw_yq6Rb6CBff95ZSDtYstA09I_T-XkEkfIIA3jyEszbxLGKfpv72KuAQDbieVhNI30&t=633457542181373055
is the script containing UA sniffing code:
if(navigator.userAgent.indexOf(" MSIE ") >- 1) {
Sys.Browser.agent = Sys.Browser.InternetExplorer;
Sys.Browser.version = parseFloat(navigator.userAgent.match(/MSIE
(\d+\.\d+)/)[1]);
Sys.Browser.hasDebuggerStatement = true}
else if(navigator.userAgent.indexOf(" Firefox/") >- 1) {
Sys.Browser.agent = Sys.Browser.Firefox;
Sys.Browser.version =
parseFloat(navigator.userAgent.match(/Firefox\/(\d+\.\d+)/)[1]);
Sys.Browser.name = "Firefox";
Sys.Browser.hasDebuggerStatement = true}
else if(navigator.userAgent.indexOf(" Safari/") >- 1) {
Sys.Browser.agent = Sys.Browser.Safari;
Sys.Browser.version =
parseFloat(navigator.userAgent.match(/Safari\/(\d+\.\d+)/)[1]);
Sys.Browser.name = "Safari"}
else if(navigator.userAgent.indexOf("Opera/") >-
1)Sys.Browser.agent = Sys.Browser.Opera;
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list