2 <script src=
"../../../resources/testharness.js"></script>
3 <script src=
"../../../resources/testharnessreport.js"></script>
6 var A
= document
.registerElement('mixed-CASE-custom-TAG');
7 assert_true(document
.createElement('MIXED-case-CUSTOM-tag') instanceof A
);
9 document
.createElement('MIXED-case-CUSTOM-tag', null) instanceof A
);
10 }, 'createElement is case insensitive for custom tags');
13 var B
= document
.registerElement('mixed-CASE-type-EXTENSION', {extends: 'span'});
14 assert_true(document
.createElement('span', 'MIXED-case-TYPE-extension')
16 }, 'createElement is case insensitive for type extensions');