Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP Applications Render Using Quirks Mode and Support for IE8 Standards Mode
RAP Applications Render Using Quirks Mode and Support for IE8 Standards Mode [message #126288] Thu, 26 March 2009 22:16 Go to next message
Walter Rumsby is currently offline Walter RumsbyFriend
Messages: 7
Registered: July 2009
Junior Member
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 #126305 is a reply to message #126288] Fri, 27 March 2009 07:14 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Walter,

what kind of rendering problems do you have with the current DOCTYPE?
I'm using IE8 and I've never found any rendering issues since IE8 public
beta.

Best,
Ivan

Walter Rumsby wrote:
> 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 #126318 is a reply to message #126305] Sat, 28 March 2009 02:19 Go to previous messageGo to next message
Walter Rumsby is currently offline Walter RumsbyFriend
Messages: 7
Registered: July 2009
Junior Member
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 #126329 is a reply to message #126318] Sat, 28 March 2009 22:13 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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 #126466 is a reply to message #126329] Tue, 31 March 2009 07:14 Go to previous messageGo to next message
Stefan Hansel is currently offline Stefan HanselFriend
Messages: 103
Registered: July 2009
Senior Member
You should be aware, that qooxdoo doesn't suggest to use IE8
Standard-Mode:

http://news.qooxdoo.org/the-week-in-qooxdoo-2008-11-14 (see 'IE8
Support').
So from my reading quirks-mode is the only 'cross-compatible'-mode
supported by qooxdoo/RAP if you target IE7+8.

So before RAP starts testing, qooxdoo team should be asked, whether the
issues are removed.
To be RAP-relevant the issues need to be resolved in qooxdoo 0.7.4, as
thats the version RAP uses.
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 22:12 Go to previous message
Walter Rumsby is currently offline Walter RumsbyFriend
Messages: 7
Registered: July 2009
Junior Member
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.
Previous Topic:Branding doesn't work in Tomcat
Next Topic:RAP Tomcat exception
Goto Forum:
  


Current Time: Mon Dec 06 20:57:17 GMT 2021

Powered by FUDForum. Page generated in 0.02266 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top