Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

msie version test and document mode (quirks mode) #4113

Closed
SebC99 opened this issue Sep 23, 2013 · 1 comment
Closed

msie version test and document mode (quirks mode) #4113

SebC99 opened this issue Sep 23, 2013 · 1 comment

Comments

@SebC99
Copy link

SebC99 commented Sep 23, 2013

In some cases IE runs in a different document mode (mainly depending of doctype) and it can cause some errors:
Angular tests the IE version (like in angular.js line 2057: if (msie <= 8) ) but doesn't test the document.documentMode (specific to IE).

I guess we could replace the msie variable by the document.documentMode if exists because the user-agent isn't a reliable test for feature detection, whereas documentMode is a little better.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants