On 5 juin, 19:03, y2ken <[email protected]> wrote:
> newbies question here ...
> i read since gwt 1.5, it supports browser standard rendering mode and
> quirks mode is also support but may be dropped in future.
>
> now the question is, do we(as developer) need to specify anything that
> will tell gwt compiler to generate a standard more or quirks mode
> output? Just like we need to add doctype in html to tell the browser
> what mode to render.
>
> what i confuse is, if the answer is that gwt output is smart enough to
> work on both standards and quirks mode, will we face lot of browser
> compatibility issues?

When necessary, GWT's code will ask the browser/document's mode
(standards vs. quirks) and make some adjustments; you don't have to do
anything apart telling the browser which mode it should use by
specifying the appropriate doctype (or no doctype at all) and/or add a
<meta http-equiv="X-UA-Compatible"> for IE8.
I highly recommend reading http://hsivonen.iki.fi/doctype

For the moment however, GWT works slightly better in quirks mode than
in standards mode (AFAICT there are issues with SplitPanel and
DockPanel; if you don't use them, you can safely use standards mode).
And remember that if you have to support IE6, it has no doctype
sniffing and is equivalent to the "quirks mode" of IE7.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to