[Webkit-unassigned] [Bug 85270] REGRESSION(r113887): no date picker on http://www.liligo.co.uk

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 1 10:20:22 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=85270





--- Comment #2 from Erik Arvidsson <arv at chromium.org>  2012-05-01 10:20:22 PST ---
This happens in 

"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.10+ (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3"

but not in

"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.10 (KHTML, like Gecko) Chrome/20.0.1123.0 Safari/536.10"

Looking at the code...

C = F.safari && !F.detect("chrome");

,addRules: function(H) {
            var G = this._getStyleCont();
            if ((typeof H != "string") && (H.join)) {
                H = H.join("\n")
            }
            if (!C) {
                if (G.styleSheet) {
                    G.styleSheet.cssText += "\n" + H
                } else {
                    G.appendChild(document.createTextNode(H))
                }
            } else {
                this.addRulesSafari(G, H)
            }

Overriding the user agent to make it look like Chrome and the date picker works.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list