Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/v0/registering/unresolved-elements-interface-svg-element.html

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698