I have converted some of my old HTA from Quirks to IE9 standards. However, it seems that the modal and feeble dialogs opened by HTA do not support IE9 standards mode.
Test Dialog Box:
<!DOCTYPE html> <html> <head> <title>TestDialog</title> <meta http-equiv="x-ua-compatible" content="ie=9" /> </head> <body> <svg> <circle cx="100" cy="100" r="50" fill="#0f0" /> </svg> </body> </html>
On the HTA homepage:
<button onclick="showModalDialog(...)">Modal</button> <button onclick="showModelessDialog(...)">Modeless</button>
When you open TestDialog from the HTA, it is empty. If the main page is a regular html document, a green circle appears in the dialog box. When opening with HTA, it makes no difference if the dialog file itself was htm or hta.
I also tested addEventListener() , but it will also not work in dialogs.
So, can I "force" dialogs to support IE9 standards when opening from HTA?
EDIT
It seems that the modal and non-modal dialogs open from the HTA are at the IE8 level. The same thing happens when using IE10 in Windows7.
Teemu source share