Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / attribute-downcast-right.html
blob1a03005513669b42b666cc0b24d3f03629cfde51
1 <SCRIPT>
2 if (window.testRunner)
3 testRunner.dumpAsText();
5 var oElement = document.createElement("s")
6 var oElementNS = document.createElementNS("http://example.com/", "example");
7 oElementNS.setAttributeNS("http://example.com/", "example", "");
8 var oAttributeNS = oElementNS.getAttributeNodeNS("http://example.com/", "example");
9 var oAttributeNSClone = oAttributeNS.cloneNode();
10 oElement.setAttributeNode(oAttributeNSClone);
11 </SCRIPT>
12 <BODY>
13 This tests that an Attribute object is not downcasted to a MappedAttribute.
14 See http://bugs.webkit.org/show_bug.cgi?id=21032 .
15 </BODY>