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

Side by Side Diff: tests/html/svg_2_test.dart

Issue 12094081: Support for Crome roll 176827->179299. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tests/html/svg_3_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library SVG2Test; 1 library SVG2Test;
2 import '../../pkg/unittest/lib/unittest.dart'; 2 import '../../pkg/unittest/lib/unittest.dart';
3 import '../../pkg/unittest/lib/html_config.dart'; 3 import '../../pkg/unittest/lib/html_config.dart';
4 import 'dart:html'; 4 import 'dart:html';
5 import 'dart:svg' as svg; 5 import 'dart:svg' as svg;
6 6
7 // Test that SVG elements explicitly implement the IDL interfaces (is-checks 7 // Test that SVG elements explicitly implement the IDL interfaces (is-checks
8 // only, see SVGTest3 for behavioural tests). 8 // only, see SVGTest3 for behavioural tests).
9 9
10 main() { 10 main() {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Direct inheritance chain 47 // Direct inheritance chain
48 expect(r, isSvgElement); 48 expect(r, isSvgElement);
49 expect(r, isElement); 49 expect(r, isElement);
50 expect(r, isNode); 50 expect(r, isNode);
51 51
52 // Other implemented interfaces. 52 // Other implemented interfaces.
53 expect(r, isSvgTests); 53 expect(r, isSvgTests);
54 expect(r, isSvgLangSpace); 54 expect(r, isSvgLangSpace);
55 expect(r, isSvgExternalResourcesRequired); 55 expect(r, isSvgExternalResourcesRequired);
56 expect(r, isSvgStylable);
57 expect(r, isSvgTransformable); 56 expect(r, isSvgTransformable);
58 expect(r, isSvgLocatable); 57 expect(r, isSvgLocatable);
59 58
60 // Interfaces not implemented. 59 // Interfaces not implemented.
61 expect(r, isNot(isSvgNumber)); 60 expect(r, isNot(isSvgNumber));
62 expect(r, isNot(isSvgRect)); 61 expect(r, isNot(isSvgRect));
63 expect(r, isNot(isSvgSvgElement)); 62 expect(r, isNot(isSvgSvgElement));
64 63
65 div.remove(); 64 div.remove();
66 }); 65 });
67 } 66 }
OLDNEW
« no previous file with comments | « no previous file | tests/html/svg_3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698