Using IE 6-8 you can sometime gets large parts of graph not drawing if you have certain DOCTYPES

asked 18 Apr '11, 00:30

David's gravatar image

David ♦♦
4.8k21130
accept rate: 46%


If you have a DOCTYPE in your page which is causing problems and you can't remove or modify, try adding a comment before the DOCTYPE or using the <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/> tag as a workaround. Here is a comment from Microsoft on their bug, but the suggested fix doesn't work.

The following table lists all possible doctypes and their effect on mxGraph in IE6, IE7, IE8 and IE8 in IE7 compat mode using the above tag:

Used software versions:

  • Server: Apache/2.0.59 (Unix) PHP/5.2.6 on Darwin 10.0.0
  • IE6: 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 on Windows XP Pro Version 2002 SP2
  • IE7: 7.0.5730.13 on Windows XP Pro Version 2002 SP2
  • IE8: 8.0.6001.18813 on Windows Vista Ultimate SP2
  • IE8/7: Same as IE8 but with <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>

Doctype                                                     IE6  IE7  IE8  IE8/7

DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN"             OK   OK   OK   OK

DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"        OK   OK   OK   OK

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"
                                                            1)   4)   2)   4)

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"
                                                            1)   4)   2)   4)

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
                                                            1)   4)   3)   4)

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
                                                            1)   4)   3)   4)

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"
                                                            1)   4)   3)   4)

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
                                                            1)   4)   3)   4)
  1. HTML rendering affected, VML visible
  2. VML not visible
  3. VML (except textboxes) not visible
  4. HTML rendering and events affected, VML visible
link

answered 18 Apr '11, 00:48

David's gravatar image

David ♦♦
4.8k21130
accept rate: 46%

edited 08 Feb '13, 03:54

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×7
×5
×4
×2
×1

Asked: 18 Apr '11, 00:30

Seen: 4,522 times

Last updated: 08 Feb '13, 03:54

powered by BitNami OSQA