OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Unresolved element interface must be HTMLElement, if the namespace is HTM
L Namespace</title> | 4 <title>Unresolved element interface must be HTMLElement, if the namespace is HTM
L Namespace</title> |
5 <meta name="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru"> | 5 <meta name="author" title="Sergey G. Grekhov" href="mailto:sgrekhov@unipro.ru"> |
6 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru
"> | 6 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru
"> |
7 <meta name="assert" content="When an unresolved element is created, it's element
interface must be HTMLElement, if the namespace is HTML Namespace"> | 7 <meta name="assert" content="When an unresolved element is created, it's element
interface must be HTMLElement, if the namespace is HTML Namespace"> |
8 <link rel="help" href="http://www.w3.org/TR/custom-elements/#registering-custom-
elements"> | 8 <link rel="help" href="http://www.w3.org/TR/custom-elements/#registering-custom-
elements"> |
9 <script src="../../../../../resources/testharness.js"></script> | 9 <script src="../../../../../resources/testharness.js"></script> |
10 <script src="../../../../../resources/testharnessreport.js"></script> | 10 <script src="../../../../../resources/testharnessreport.js"></script> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 var customElement = doc.getElementById('x-element'); | 47 var customElement = doc.getElementById('x-element'); |
48 | 48 |
49 assert_not_equals(customElement, null, 'Unregistered custom element should n
ot be null'); | 49 assert_not_equals(customElement, null, 'Unregistered custom element should n
ot be null'); |
50 | 50 |
51 assert_class_string(customElement, 'HTMLElement', | 51 assert_class_string(customElement, 'HTMLElement', |
52 'Unresolved custom element must be a HTML element'); | 52 'Unresolved custom element must be a HTML element'); |
53 }, 'Test unresolved element interface in loaded HTML document'); | 53 }, 'Test unresolved element interface in loaded HTML document'); |
54 </script> | 54 </script> |
55 </body> | 55 </body> |
56 </html> | 56 </html> |
OLD | NEW |