Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
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

Description

@SebC99

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions