Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread <Project>.HTML Compatibility
Wed, Feb 25 2015 4:28 AMPermanent Link

Mark Brooks

Slikware

Avatar

Tim,

I have just, for the very first time, come up against a peculiar issue. I am embedding the (excellent) Mozilla PDFViewer into my web app. It's basically a very fast, very flexible PDF vector renderer. I embed it within a TPage. This works fine on all browsers except IE (8,9,10 or 11).

A bit of research and tinkering shows that the issue is down to this line in my project's HTML file:

<meta http-equiv="X-UA-Compatible" content="IE=8">

As I understand it, this tells IE to use a rendering mechanism compatible with the older browsers. Common guidance seems to suggest using this line instead:

<meta http-equiv="X-UA-Compatible" content="IE=edge">

When I manually make this change, all works well on IE. Is there any particular reason why this is not the EWB default?

Thanks
Mark
Wed, Feb 25 2015 7:13 AMPermanent Link

Raul

Team Elevate Team Elevate

On 2/25/2015 4:28 AM, Mark Brooks wrote:
> A bit of research and tinkering shows that the issue is down to this line in my project's HTML file:
> <meta http-equiv="X-UA-Compatible" content="IE=8">

In my case this only appears for projects that do not have "Enable HTML5
functionality" option enabled so EWB is defaulting to IE8.

With the HTML5 option enabled this would compile to "content="IE=9""

 > As I understand it, this tells IE to use a rendering mechanism
compatible with the older browsers. Common guidance seems to suggest
using this line instead:
> <meta http-equiv="X-UA-Compatible" content="IE=edge">

This AFAIK means use HTML5 mode (most supported standards).

Does your app work with the IE9 setting ? (<meta
http-equiv="X-UA-Compatible" content="IE=9">)


> When I manually make this change, all works well on IE. Is there any particular reason why this is not the EWB default?

This is already default in EWB2 (at least in preview).

For EWB1 this can only be used if project has HTML5 enabled  otherwise
it has to remain as now for rest.

Raul
Wed, Feb 25 2015 8:20 AMPermanent Link

Mark Brooks

Slikware

Avatar

Raul wrote:

>>In my case this only appears for projects that do not have "Enable HTML5
>>functionality" option enabled so EWB is defaulting to IE8.
>>With the HTML5 option enabled this would compile to "content="IE=9""

Hi Raul

Thanks for this. I am using EWB 1.01 Build 5. Did the "Enable HTML5 functionality" option come in after that? If not, where should I be looking?

Cheers
Mark
Wed, Feb 25 2015 8:42 AMPermanent Link

Uli Becker

Mark,

> Thanks for this. I am using EWB 1.01 Build 5. Did the "Enable HTML5 functionality" option come in after that? If not, where should I be looking?

I am using EWB 1.05 and there you can find it in the project options |
compilation

Uli
Wed, Feb 25 2015 8:44 AMPermanent Link

Raul

Team Elevate Team Elevate

On 2/25/2015 8:20 AM, Mark Brooks wrote:

> Thanks for this. I am using EWB 1.01 Build 5. Did the "Enable HTML5 functionality" option come in after that? If not, where should I be looking?

Not sure when it appeared - i think it has been there from the very
beginning.

In project manager window (where the files/unit are shown) its the
orange icon with 5 on it (small version of this image :
http://www.w3.org/html/logo/).

There are 2 icon options there - one for compressing output and other
for enabling html5.

Raul
Wed, Feb 25 2015 8:45 AMPermanent Link

Uli Becker

Addition:

on the download site you can find:

<<

1.02 Release Notes
Elevate Web Builder 1.02 now includes many new features/enhancements:

Compiler
You can now select whether the emitted output will be runnable under IE
8 (limited HTML5 functionality - persistent storage only) or IE9 (HTML5
canvas, persistent storage, and media functionality). For example, the
IE9 functionality is required for use of the TPaint control.

>>

So you won't find it in the version you are using.

Uli
Wed, Feb 25 2015 10:15 AMPermanent Link

Mark Brooks

Slikware

Avatar

Raul / Uli

Much appreciated

Mark
Image