Hello everybody, I'm aware that jQuery promotes features detection over browser sniffing but currently we provide no way for the user to figure out easily when the browser is IE8 operating in the so called "compatibility mode".
To detect that case the following line could be used: document.documentMode && document.documentMode == 7; What to do with that knowledge then? I'm not sure if it's a good idea to replace $.browser.version with 7, since some new JavaScript features introduced in IE8 are still available in compatibility mode (XDomainRequest for example). We could add a new property to the $.browser object, for example: $.browser.mode = 7 What do you think? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
