Thanks, I know, and I do (for GWT 2.0). The question is more targeted
at the documentation, which says, we shouldn't use some of the old
layout elements anymore (e.g. StackPanel), because they don't work
well in standards mode.

http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html
(Section "Moving to Standards Mode")

But if it's the case that most GWT 1.7 applications never used quirks
mode anyway (because WebAppCreator by default created a HTML file in
"Almost Standards" mode), then I don't understand that, because the
differences between "Almost Standards" and "Standards" aren't very
big, or are they?

In any case, the comment in the HTML file, that "HTML 4.01
Transitional DOCTYPE" triggers quirks mode doesn't seem to be correct.
Quirks mode is quite different from (Almost) Standards mode.


On Feb 19, 2:46 pm, Alexander Arendar <[email protected]>
wrote:
> Hi Chris,
>
> you better use the strict mode:
> !DOCTYPE HTML PUBLIC
> "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd";>
>
> That would benefit since new GWT layout panels are optimized for the strict
> mode.
>
> Sincerely,
> Alex
>
> On Fri, Feb 19, 2010 at 3:28 PM, Chris Lercher <[email protected]>wrote:
>
>
>
> > Hi,
>
> > I just had a look at a html page generated by GWT 1.7, and was
> > wondering about this:
>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> > <!-- The HTML 4.01 Transitional DOCTYPE declaration-->
> > <!-- above set at the top of the file will set     -->
> > <!-- the browser's rendering engine into           -->
> > <!-- "Quirks Mode". Replacing this declaration     -->
> > <!-- with a "Standards Mode" doctype is supported, -->
> > <!-- but may lead to some differences in layout.   -->
>
> > GWT 1.7 was made for quirks mode, as far as I remember. But HTML 4.01
> > Transitional isn't quirks mode. For all I know, this is called "Almost
> > Standards mode", which is very close to "Standards mode", except
> > mainly for images.
>
> > Seehttp://hsivonen.iki.fi/doctype/ (Section "Choosing a Doctype")
> > andhttp://www.quirksmode.org/css/quirksmode.html
>
> > So I wonder: Is this incorrect in the generated HTML page, or are the
> > GWT docs actually always talking about "Almost Standards mode", when
> > they say, that certain things before GWT 2.0 were designed for "Quirks
> > mode"? Or maybe the information in my links is wrong?
>
> > Chris
>
> > --
> > 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]<google-web-toolkit%2Bunsubs 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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