Index: LayoutTests/dart/Node.html |
diff --git a/LayoutTests/dart/Node.html b/LayoutTests/dart/Node.html |
deleted file mode 100644 |
index 0cf6d057a6fbf9fc41930adee8467a8b529c0885..0000000000000000000000000000000000000000 |
--- a/LayoutTests/dart/Node.html |
+++ /dev/null |
@@ -1,63 +0,0 @@ |
-<html> |
-<body> |
- |
-<div id="insert">*Insert Test Parent*<div id="refChild">Reference Child</div></div> |
-<div id="replace">*Replace Test Parent*<div id="oldChild">Old Child</div></div> |
-<div id="remove">*Remove Test Parent*<div id="child">Child</div></div> |
-<div id="append">*Append Test Parent*</div> |
- |
-<script id="dart" type="application/dart"> |
-#import('dart:dom'); |
- |
-class NodeTest { |
- |
- NodeTest() {} |
- |
- void testInsertBefore() { |
- HTMLElement parent = document.getElementById('insert'); |
- HTMLElement child = document.createElement('div'); |
- child.innerHTML = 'Inserted Child'; |
- HTMLElement refChild = document.getElementById('refChild'); |
- parent.insertBefore(child, refChild); |
- } |
- |
- void testReplaceChild() { |
- HTMLElement parent = document.getElementById('replace'); |
- HTMLElement child = document.createElement('div'); |
- child.innerHTML = 'New Child'; |
- HTMLElement oldChild = document.getElementById('oldChild'); |
- parent.replaceChild(child, oldChild); |
- } |
- |
- void testRemoveChild() { |
- HTMLElement parent = document.getElementById('remove'); |
- HTMLElement child = document.getElementById('child'); |
- parent.removeChild(child); |
- } |
- |
- void testAppendChild() { |
- HTMLElement parent = document.getElementById('append'); |
- HTMLElement child = document.createElement('div'); |
- child.innerHTML = 'Appended Child'; |
- parent.appendChild(child); |
- } |
-} |
- |
-void main() { |
- if (null !== layoutTestController) { |
- layoutTestController.dumpAsText(); |
- } |
- NodeTest tester = new NodeTest(); |
- tester.testInsertBefore(); |
- tester.testReplaceChild(); |
- tester.testRemoveChild(); |
- tester.testAppendChild(); |
-} |
-</script> |
- |
-<script> |
-// Fake script to trigger Dart execution. |
-</script> |
- |
-</body> |
-</html> |