REQUIRED INFORMATION


Ext version tested:
  • Ext 4.1.1

Browser versions tested against:
  • IE10
  • IE9
  • IE8

DOCTYPE tested against:
  • 4.01 Strict (with DTD URL)
  • 4.01 Transitional (with DTD URL)

Description:
  • Window constrainHeader does not work on IE when DOCTYPE is declared with DTD URL.

Steps to reproduce the problem:
  • Run following code with IE.
  • Drag down the window over the browser frame.

The result that was expected:
  • Window constrained.

The result that occurs instead:
  • No constrain.

Test Case:


Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Code:
Ext.onReady(function () {
    Ext.create("Ext.container.Viewport", {
        style : "border : solid 1px black"
    });
    Ext.create("Ext.window.Window", {
        constrainHeader : true,
        width : 400,
        height : 200
    }).show();
});





HELPFUL INFORMATION


Debugging already done:
  • FireFox, Chrome, Safari, and Opera works.
  • IE works when DOCTYPE declaration removed.
  • IE also works when DTD URL removed from DOCTYPE declaration

Additional CSS used:
  • only default ext-all.css