Thanks, Fred. Quite helpful.
Would it be correct to interpret your remarks to mean that GWT will
likely make the use of a DOCTYPE the recommended "best practice" for
GWT applications in 1.5 (e.g. the generated "Hello GWT" app HTML would
include a DOCTYPE declaration at the top) ?
John
On Dec 21, 3:49 pm, "Fred Sauer" <
f...@allen-sauer.com> wrote:
> John,
>
> If you could use a DOCTYPE and run your application in strict mode, you'll
> find the number of issues between IE and others greatly reduced. Personally,
> I find strict (standards) mode rendering easier to deal with than quirks
> mode.
>
> I should note that there are a few (strict mode) doctype issues in
> 1.4.61that will likely (all?) be addressed in
> 1.5. If you must use 1.4.61, you may have to work around these in your
> client code. Again, my personal opinion is that is easier to deal with these
> (which are well documented in the issue tracker; just search for
> "label:doctype") than to deal with IE in quirks mode.
>
> If, by the way, you can use a build from 'trunk' (stuff that's in the queue
> for inclusion in 1.5) on your project instead of 1.4.61, then many of these
> doctype issues will have already been fixed for you. Also, there's expected
> to be a milestone build for 1.5 soon in case that is more manageable than a
> 'build it yourself from sources' distribution.
>
> Hope that helps.
> Fred
>
> On Dec 21, 2007 1:26 PM, John Gunther <
johncurtisgunt...@yahoo.com> wrote:
>
>
>
>
>
> > It's well known that IE6 (quirks mode) and IE5 don't support the
> > standard CSS box model. This link provides a good description of the
> > issue if you need more detail:
>
> >
http://webdesign.about.com/od/css/a/aaboxmodelhack.htm
>
> > My understanding is that this is NOT one of the cross-browser
> > incompatibilities that GWT insulates you from. Or am I missing
> > something?
>
> > If not, is there an easy way to determine which "box model variant"
> > the browser currently running my code is using?
>
> > To be specific, I'd like to be able to write GWT code that would set
> > an Image object's width, and, say, its left border width, AS IF all
> > browsers supported the standard CSS box model. And if I cannot do that
> > with GWT right now, I'd like to at least be able to determine which
> > box model was being used, so I could make appropriate adjustments so
> > the Image would look the same in every GWT-compatible browser.
>
> > John
>
> --
> Fred Sauer
>
f...@allen-sauer.com