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

Unified Diff: tests/html/svgelement_test.dart

Issue 21085008: Fixing some SVG collections not working on Dartium (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tools/dom/scripts/systemnative.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/svgelement_test.dart
diff --git a/tests/html/svgelement_test.dart b/tests/html/svgelement_test.dart
index 6bc60b03787d39f145677d5b5f54c8e88048ddaa..f94baaef7c09c1e2fcc2e9fdcb0306a3e43ec0d9 100644
--- a/tests/html/svgelement_test.dart
+++ b/tests/html/svgelement_test.dart
@@ -439,4 +439,14 @@ main() {
expect(rect.height, closeTo(100, 1));
});
});
+
+ group('PathElement', () {
+ test('pathSegList', () {
+ svg.PathElement path =
+ new svg.SvgElement.svg('<path d="M 100 100 L 300 100 L 200 300 z"/>');
+ for (var seg in path.pathSegList) {
+ expect(seg is svg.PathSeg, isTrue);
+ }
+ });
+ });
}
« no previous file with comments | « sdk/lib/svg/dartium/svg_dartium.dart ('k') | tools/dom/scripts/systemnative.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698