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

Unified Diff: LayoutTests/dart/dom/SVGTest2.dart

Issue 9188009: Things to unfork. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 11 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 | « LayoutTests/dart/dom/SVGTest1-expected.txt ('k') | LayoutTests/dart/dom/SVGTest2.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dart/dom/SVGTest2.dart
diff --git a/LayoutTests/dart/dom/SVGTest2.dart b/LayoutTests/dart/dom/SVGTest2.dart
deleted file mode 100644
index 5b1a872721153a4d29e5ed8f3bace144cc982a09..0000000000000000000000000000000000000000
--- a/LayoutTests/dart/dom/SVGTest2.dart
+++ /dev/null
@@ -1,46 +0,0 @@
-#import('../../../../../dart/client/testing/unittest/unittest.dart');
-#import('dart:dom');
-
-// Test that SVG elements explicitly implement the IDL interfaces (is-checks
-// only, see SVGTest3 for behavioural tests).
-
-main() {
-
- insertTestDiv() {
- var element = document.createElement('div');
- element.innerHTML = @'''
-<svg id='svg1' width='200' height='100'>
-<rect id='rect1' x='10' y='20' width='130' height='40' rx='5'fill='blue'></rect>
-</svg>
-''';
- document.body.appendChild(element);
- return element;
- }
-
- forLayoutTests();
-
- test('rect_isChecks', () {
- var div = insertTestDiv();
- var r = document.getElementById('rect1');
-
- // Direct inheritance chain
- Expect.isTrue(r is SVGElement);
- Expect.isTrue(r is Element);
- Expect.isTrue(r is Node);
-
- // Other implemented interfaces.
- Expect.isTrue(r is SVGTests);
- Expect.isTrue(r is SVGLangSpace);
- Expect.isTrue(r is SVGExternalResourcesRequired);
- Expect.isTrue(r is SVGStylable);
- Expect.isTrue(r is SVGTransformable);
- Expect.isTrue(r is SVGLocatable);
-
- // Interfaces not implemented.
- Expect.isFalse(r is SVGNumber);
- Expect.isFalse(r is SVGRect);
- Expect.isFalse(r is SVGSVGElement);
-
- document.body.removeChild(div);
- });
-}
« no previous file with comments | « LayoutTests/dart/dom/SVGTest1-expected.txt ('k') | LayoutTests/dart/dom/SVGTest2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698