Different renderings based on RootLayout or RootPanel and DOCTYPE.

Background
- UI is programmatically created (no UiBinder)
- VerticalPanel in the center of a DockPanel holds 3 widgets. Only one
of them is to show at a time. Turn one on, turn the others off, etc.
- Depending on the combination of different access to the Root and DTD
declarations, I get _way_ different rendering

1) RootPanel + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
- Chrome Win: BAD UI - all widgets displayed (ie, setVisible(false)
does not work on container)
- FF Win: works as expected
- IE7 Win: works as expected

2) RootPanel + <!DOCTYPE HTML>
- Chrome Win: BAD UI - all widgets displayed (ie, setVisible(false)
does not work on container)
- FF Win: works mostly as expected except some divs don't have correct
height set
- IE7 Win: works as expected

3) RootLayoutPanel + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
- Chrome Win: works as expected
- FF Win: works as expected
- IE7 Win: BAD UI - blank screen

4) RootLayoutPanel + <!DOCTYPE HTML>
- Chrome Win: BAD UI - works mostly as expected except some divs don't
have correct height set
- FF Win: BAD UI - works mostly as expected except some divs don't
have correct height set
- IE7 Win: works as expected

Strange that IE7 works exactly as expected in 3 out of 4, when the
browsers I like have rendering issues.

Besides saying "quirks mode, go figure" are there any other
explanations? Looks like I will use Option 4, but now I have to debug
Chrome and FF for height setting issues in nested divs.

Suggestions?

Stuart


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