OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Unresolved element interface must be SVGElement, if the namespace is SVG
Namespace</title> | 4 <title>Unresolved element interface must be SVGElement, if the namespace is SVG
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="Vasiliy Degtyarev" href="mailto:vasya@unipro.ru"> | 6 <meta name="author" title="Vasiliy Degtyarev" href="mailto:vasya@unipro.ru"> |
7 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru
"> | 7 <meta name="author" title="Aleksei Yu. Semenov" href="mailto:a.semenov@unipro.ru
"> |
8 <meta name="assert" content="When an unresolved element is created, it's element
interface must be SVGElement if the namespace is SVG Namespace"> | 8 <meta name="assert" content="When an unresolved element is created, it's element
interface must be SVGElement if the namespace is SVG Namespace"> |
9 <link rel="help" href="http://www.w3.org/TR/custom-elements/#registering-custom-
elements"> | 9 <link rel="help" href="http://www.w3.org/TR/custom-elements/#registering-custom-
elements"> |
10 <script src="../../../../../resources/testharness.js"></script> | 10 <script src="../../../../../resources/testharness.js"></script> |
(...skipping 27 matching lines...) Expand all Loading... |
38 var xsvg = doc.getElementById('x-svg-element'); | 38 var xsvg = doc.getElementById('x-svg-element'); |
39 | 39 |
40 assert_not_equals(xsvg, null, 'Unresolved custom element should not be null'
); | 40 assert_not_equals(xsvg, null, 'Unresolved custom element should not be null'
); |
41 | 41 |
42 assert_class_string(xsvg, 'SVGElement', | 42 assert_class_string(xsvg, 'SVGElement', |
43 'Unresolved custom element must be a SVG element'); | 43 'Unresolved custom element must be a SVG element'); |
44 }, 'Test interface of unresolved element in loaded HTML document with embedded S
VG elements'); | 44 }, 'Test interface of unresolved element in loaded HTML document with embedded S
VG elements'); |
45 </script> | 45 </script> |
46 </body> | 46 </body> |
47 </html> | 47 </html> |
OLD | NEW |