Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / custom / custom-element-name-sensivity.html
blob93a910301e081e3c56d00271d8416cb7511210af
1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <script>
5 test(function () {
6 var A = document.registerElement('mixed-CASE-custom-TAG');
7 assert_true(document.createElement('MIXED-case-CUSTOM-tag') instanceof A);
8 assert_true(
9 document.createElement('MIXED-case-CUSTOM-tag', null) instanceof A);
10 }, 'createElement is case insensitive for custom tags');
12 test(function () {
13 var B = document.registerElement('mixed-CASE-type-EXTENSION', {extends: 'span'});
14 assert_true(document.createElement('span', 'MIXED-case-TYPE-extension')
15 instanceof B);
16 }, 'createElement is case insensitive for type extensions');
17 </script>