View Full Version : [CLOSED] Ext.Window rendering with fractured layout in IE7

14 Jun 2010, 6:33 AM
Full bug explanation in the first few posts of this thread (http://www.extjs.com/forum/showthread.php?100349-Ext.Window-rendering-with-fractured-layout-in-IE7&p=476784#post476784).

I have managed to create a showcase, and am posting it both here and in the original thread.

Contents of test.html

<link rel="stylesheet" type="text/css" href="http://localhost:8080/common/extjs/resources/css/ext-all-debug.css" />
<link rel="stylesheet" type="text/css" href="http://localhost:8080/common/extjs/resources/css/ext-all.css" />
<script type="text/javascript" src="http://localhost:8080/common/extjs/adapter/ext/ext-base-debug.js"></script>
<script type="text/javascript" src="http://localhost:8080/common/extjs/ext-all-debug.js"></script>
<script type="text/javascript" src="http://localhost:8080/common/prototype.js"></script>

<script type="text/javascript">

Ext.onReady(function() {

var url = 'http://localhost:8080/popuptest.html';

win = new Ext.Window({
width: 300,
height: 300,
items: {
autoLoad: {
url: url,
scripts: true,
nocache: true


Contents of "popuptest.html"

<table align="center">
... Repeated about 1000 times for safe measure. Not sure how many are required to reproduce, but 1000 sure does it.
The align="center" parameter in the root table appears to be the cause of the layout error. Without align="center" the problem goes away.

Jamie Avins
14 Jun 2010, 8:51 AM
As stated in the original thread, this is due to a painting issue in IE. Due to the nature of this particular problem, I don't see how it would be practical to always repaint window content for IE7.