zodiachsx
2010-03-17 00:11:01 UTC
Apparently, you cannot access the constructors for Nodes and descendants
using Javascript, meaning that a shadow DOM would actually be a requirement
for IE9 compatible scripts, as native elements cannot be enhanced.
Testcases:
javascript:alert(typeof Node);// undefined, should be Object
javascript:alert(typeof HTMLElement);// undefined, should be Object
javascript:alert(typeof document.createElement("div").constructor);//
undefined, should be Object
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?mid=3f9fa977-46f3-4815-a951-fd3e5454412c&dg=microsoft.public.internetexplorer.beta
using Javascript, meaning that a shadow DOM would actually be a requirement
for IE9 compatible scripts, as native elements cannot be enhanced.
Testcases:
javascript:alert(typeof Node);// undefined, should be Object
javascript:alert(typeof HTMLElement);// undefined, should be Object
javascript:alert(typeof document.createElement("div").constructor);//
undefined, should be Object
----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?mid=3f9fa977-46f3-4815-a951-fd3e5454412c&dg=microsoft.public.internetexplorer.beta