RAP Applications Render Using Quirks Mode and Support for IE8 Standards Mode [message #126288] |
Thu, 26 March 2009 18:16  |
Eclipse User |
|
|
|
Hi There,
I recently noticed that our RAP-based application, plus all the demo
applications I had a look at all use the following DOCTYPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
This DOCTYPE triggers quirks mode rendering in browsers.
Additionally, I've noticed that if you set the X-UA-Compatible header (or
meta tag) to IE=8 IE8 will render a document using IE8 Standards Mode
regardless of the DOCTYPE.
I'm wondering:
* Are there any plans to change the DOCTYPE used by RAP applications or to
allow users to specify a DOCTYPE of their own choice?
* Do you have plans for dealing with IE8 and the X-UA-Compatible header?
Regards,
Walter
|
|
|
|
|
Re: RAP Applications Render Using Quirks Mode and Support for IE8 Standards Mode [message #126329 is a reply to message #126318] |
Sat, 28 March 2009 18:13   |
Eclipse User |
|
|
|
Hi Walter,
I don't remember the reasons to choose this DOCTYPE. Maybe we did not
consider all options. At any rate, the DOCTYPE has to work with all
supported browsers as the same HTML code is delivered to all of them, so
changing it would require thorough testing.
If you think there are good reasons to change it, please open a bug in
bugzilla. This way, your points won't get lost.
Regards, Ralf
Walter Rumsby wrote:
> There are no rendering issues with IE8, but that's to be expected
> because the DOCTYPE triggers quirks mode rendering. You may be using
> IE8, but since it's pretending to be IE7 in quirks mode the experience
> should be the same as for IE7.
>
> However, it is possible to force IE8 to use IE8 Standards Mode rendering
> either via the Developer Tools or if you configure your web
> server/servlet container to set the X-UA-Compatible header to IE=8.
> Using the Developer Tools I forced the use of IE8 Standards Mode and
> didn't notice any issues, although I didn't perform any indpeth testing.
>
> The reason I noticed the DOCTYPE was that I was trying to work out why a
> widget in our RAP-based application that relies on excanvas worked when
> I used IE8 - it shouldn't have been working since all but the latest
> version of the library do not work with IE8 (as expected the widget
> didn't work when using IE8 Standards Mode). If RAP used a DOCTYPE that
> triggered standards mode the behaviour would be different and
> applications in the Internet Zone would render in IE8 Standards Mode (by
> default applications in the Intranet Zone would render in IE7
> Compatibility Mode).
>
> My interest in any possible change to the DOCTYPE and rendering mode is
> because we've developed some inhouse guidelines for developers, support
> and QA around ensuring IE8 support and having a better understanding
> RAP's direction here would help with guidelines specifically for parts
> of our application suite that rely on RAP.
>
|
|
|
|
Re: RAP Applications Render Using Quirks Mode and Support for IE8 Standards Mode [message #127414 is a reply to message #126466] |
Mon, 06 April 2009 18:12  |
Eclipse User |
|
|
|
Based on that document:
Good news is, qooxdoo (0.8 as well as 0.7.x) supports both Quirks and
IE7 standard mode
so it is possible to run qooxdoo 0.8 in a mode that triggers a standards
rendering mode by setting
X-UA-Compatible: IE=7
obviously this doesn't take advantage of new standards support in IE 8,
but it's probable that a later version of qooxdoo will support IE 8 or
possible that the final release of IE 8 works with qooxdoo when IE 8
standards mode rendering is used.
|
|
|
Powered by
FUDForum. Page generated in 0.04274 seconds