Great work finding out about this. A really nice to have would be to provide the ability to specify which documentMode and browserMode you'd like the IE browser to use.
Cheers, Alister Scott Brisbane, Australia Watir Web Master: http://watir.com Blog: http://watirmelon.com LinkedIn: http://www.linkedin.com/in/alisterscott "There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less." *~ G. K. Chesterton* On Fri, Aug 26, 2011 at 4:41 AM, Hugh McGowan <[email protected]> wrote: > Looks like we can get the information from browser.document.documentMode - > that will return the mode for the page. You can set this mode in the browser > (F12 developer tools, eg is an easy way to see this) or you can set it in > the HTML meta tags. > > I don't think there's any way around it - for IE9 we just have to check > what mode the page is using and fire events accordingly. We can at least > code it so we only do it once/page and store it in the browser instance. > This doesn't affect any of the other changes we made for IE9 because I was > able to make the method calls work in both IE8 and IE9 - this is the only > place we had to special case. > > On the bright side, IE9 is faster than IE8 so I don't think anyone will > notice :) > > Hugh > > _______________________________________________ > Wtr-development mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-development >
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
