Even though there is only few purely visual issues, there is some
(such as the VML ones pointed above), and there is no point giving the
developer indications about the browser and its version if a browser
can run an alternate rendering engine...
On Mar 29, 8:45 pm, Matt Kruse wrote:
> On Mar 29
On Mar 29, 2:27 pm, "Jeffrey Kretz" wrote:
> While I am completely behind feature detection as a solution and am using it
> wherever possible, it is important to realize that feature detection doesn't
> always identify the ability of the browser to render the VISUAL layout of a
> page correctly.
: jQuery Development
Subject: [jquery-dev] Re: Detecting IE8 operating in IE7 mode
For example VML is broken in many cases in IE8: If you are using
percentage units or if the element has been created outside of the
document (in a fragment for example) the element is not rendered. It
has correct
For example VML is broken in many cases in IE8: If you are using
percentage units or if the element has been created outside of the
document (in a fragment for example) the element is not rendered. It
has correct dimensions, correct attributes, but it is not displayed
and there is no way to detect
Maybe a feature test like this one could be useful:
if($.browser.msie){
// IE stuff
if(Object.prototype.toString.call(self.JSON) === "[object JSON]"){
// IE8 stuff
} else {
// IE < 8 stuff
}
}
rather than a sniff, above code assumes JSON is native only in IE8 or
gr
On Mar 4, 3:26 pm, lrbabe wrote:
> 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".
Why would you need to detect this? What prob
It does seem like a good example of why browser detection is a loser.
I wouldn't suggest trying to paper over $.browser.version, it would be
better to show it as 8 and let people fix their code as they find
situations where version detection doesn't work.
The biggest change that I have seen is th