OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>Test of interfaces</title> | 2 <title>Test of interfaces</title> |
3 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"> | 3 <link rel="author" title="Ms2ger" href="mailto:Ms2ger@gmail.com"> |
4 <link rel="help" href="https://html.spec.whatwg.org/multipage/"> | 4 <link rel="help" href="https://html.spec.whatwg.org/multipage/"> |
5 <link rel="help" href="https://heycam.github.io/webidl/#host-objects"> | 5 <link rel="help" href="https://heycam.github.io/webidl/#host-objects"> |
6 <link rel="help" href="http://www.ecma-international.org/publications/files/ECMA
-ST/ECMA-262.pdf#page=96"> | 6 <link rel="help" href="http://www.ecma-international.org/publications/files/ECMA
-ST/ECMA-262.pdf#page=96"> |
7 <script src="../../../../resources/testharness.js"></script> | 7 <script src="../../../../resources/testharness.js"></script> |
8 <script src="../../../../resources/testharnessreport.js"></script> | 8 <script src="../../../../resources/testharnessreport.js"></script> |
9 <script src=interfaces.js></script> | 9 <script src=interfaces.js></script> |
10 <div id="log"></div> | 10 <div id="log"></div> |
(...skipping 26 matching lines...) Expand all Loading... |
37 do_test(a[0], a[1], "useNS"); | 37 do_test(a[0], a[1], "useNS"); |
38 | 38 |
39 // Only run the createElement variant if the input is all-lowercase, because c
reateElement | 39 // Only run the createElement variant if the input is all-lowercase, because c
reateElement |
40 // case-folds to lowercase. Custom elements are required to use all-lowercase
to implement | 40 // case-folds to lowercase. Custom elements are required to use all-lowercase
to implement |
41 // HTMLElement, otherwise they use HTMLUnknownElement per spec. Example: "foo-
BAR". | 41 // HTMLElement, otherwise they use HTMLUnknownElement per spec. Example: "foo-
BAR". |
42 if (a[0] === a[0].toLowerCase()) { | 42 if (a[0] === a[0].toLowerCase()) { |
43 do_test(a[0].toUpperCase(), a[1]); | 43 do_test(a[0].toUpperCase(), a[1]); |
44 } | 44 } |
45 }) | 45 }) |
46 </script> | 46 </script> |
OLD | NEW |