[gwt-contrib] Re: getAbsoluteLeft/Top() returns incorrect value in IE when zoomed in

2008-12-09 Thread t . broyer
How about using the screen.deviceXDPI and related properties? See: - http://msdn.microsoft.com/en-us/library/cc849094(VS.85).aspx#DetectViaJava - http://msdn.microsoft.com/en-us/library/ms537625(VS.85).aspx - http://msdn.microsoft.com/en-us/library/ms533721(VS.85).aspx Something like

[gwt-contrib] Re: getAbsoluteLeft/Top() returns incorrect value in IE when zoomed in

2008-12-09 Thread Thomas Broyer
On 8 déc, 21:58, [EMAIL PROTECTED] wrote: The DOCTYPE actually makes a difference.  The following DOCTYPE (default in AppHtml.htmlsrc) works fine: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN However, adding the loose.dtd makes body.parentElement return the same size as

[gwt-contrib] Re: getAbsoluteLeft/Top() returns incorrect value in IE when zoomed in

2008-12-09 Thread Emily Crutcher
On Tue, Dec 9, 2008 at 12:42 AM, John LaBanca [EMAIL PROTECTED] wrote: Internet Explorer now works the same as Firefox. That is, with real zoom, absolute positions do not change even though the widget appears further from the left or top. I was going to put that info in the review request,

[gwt-contrib] Re: getAbsoluteLeft/Top() returns incorrect value in IE when zoomed in

2008-12-09 Thread jlabanca
committed as r4276 $wnd.screen.deviceXDPI / $wnd.screen.logicalXDPI didn't seem to work (they returned the same value even when zoomed in). Reading through the MSDN docs, it looks deviceXDPI changes when you change your screen resolution, not when you zoom in.

[gwt-contrib] Re: getAbsoluteLeft/Top() returns incorrect value in IE when zoomed in

2008-12-08 Thread John LaBanca
Internet Explorer now works the same as Firefox. That is, with real zoom, absolute positions do not change even though the widget appears further from the left or top. I was going to put that info in the review request, but I didn't want to confuse anyone. Also, can you check what happens when