Friday, August 23, 2013

Re: com.google.gwt.core.client.JavaScriptException: (InvalidCharacterError) on IE 10

Thanks for the suggestion Jens, you opened a new lead but I still could not make it work. I added:
 <meta http-equiv="x-ua-compatible" content="IE=9"/>
as the first line in <head> but it did not make a difference.

Using Browser Mode = IE9 and Document Mode = IE9 standards gave me different results after restarting the application with the same settings, I could not understand this.
I tried all sorts of permutations and I noticed that it always works only if in IE i choose Document Mode = IE5 Quirks, while Browser Mode can be anything (even IE10).
I think this is related to my Doctype declaration:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
 .....

I tried using <!DOCTYPE HTML"> as suggested on msdn site, but in this case the application layout was completely messed up.

Any idea how to enforce IE from the application to use Document Mode = IE 5 Quirks?

Thanks


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment