Side navigation
#10385 closed bug (worksforme)
Opened September 30, 2011 01:47AM UTC
Closed September 30, 2011 02:17AM UTC
Last modified September 13, 2012 10:35AM UTC
jQuery.browser.version for ie9 is returning '7.0'
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | core | Version: | 1.7b1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery.browser.version returns 7.0 instead of the expected 9.0 for Internet Explorer 9.0.8112.16421 64bit
Perhaps I have done something incorrectly however someone smarter should probably take a look
thank you.
Attachments (0)
Change History (5)
Changed September 30, 2011 02:17AM UTC by comment:1
component: | unfiled → core |
---|---|
milestone: | None → 1.7 |
priority: | undecided → low |
resolution: | → worksforme |
status: | new → closed |
version: | 1.6.2 → 1.7b1 |
Changed September 30, 2011 02:36AM UTC by comment:2
If you're in compat mode, you will get the IE7 UA string which is what jQuery.browser.version is derived from
Changed October 17, 2011 11:53PM UTC by comment:3
If you're in quirks mode too, or don't specify a doctype, IE will try its best to figure out what compat mode to use too, and that might set it to 7.0
Changed October 18, 2011 04:05PM UTC by comment:4
I have the problem too and i'm using IE 9.0.8112.16421 on Seven 64bits.
I'm not in compat mode and I have the following doctype in my page :
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http:www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
But whatever ? Am I missing something ?
Changed September 13, 2012 10:35AM UTC by comment:5
I would argue this needs opening, I'm getting the same result with <!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01EN" "http:www.w3.org/TR/html4/strict.dtd">
Looks like a 9 to me: http://gyazo.com/cd91c6e2aa5c5d4ca1567b43044f4297.png