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

Unified Diff: sky/tests/editing/delete_block_contents.sky

Issue 1215063003: Remove Sky tests that we don't intend to port to the new world (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
Index: sky/tests/editing/delete_block_contents.sky
diff --git a/sky/tests/editing/delete_block_contents.sky b/sky/tests/editing/delete_block_contents.sky
deleted file mode 100644
index d7c041a68d151ddf5d2942af1a0800c37ce20bc8..0000000000000000000000000000000000000000
--- a/sky/tests/editing/delete_block_contents.sky
+++ /dev/null
@@ -1,31 +0,0 @@
-<sky>
-This test verifies that the height of an editable block remains the same after adding block elements and removing them.
-<div contenteditable="true" style="border: solid blue" id="test"></div>
-<script>
-import "../resources/third_party/unittest/unittest.dart";
-import "../resources/unit.dart";
-
-import "dart:async";
-import "dart:sky";
-
-void main() {
- initUnit();
-
- test("remains the same after adding block elements and removing them", () {
- var elem = document.getElementById("test");
- var originalHeight = elem.offsetHeight;
- var d = elem.appendChild(document.createElement('div'));
- d.appendChild(new Text('aaa'));
- d = elem.appendChild(document.createElement('div'));
- d.appendChild(new Text('bbb'));
- var newHeight = elem.offsetHeight;
-
- elem.removeChildren();
-
- new Timer(Duration.ZERO, expectAsync(() {
- expect(elem.offsetHeight, equals(originalHeight));
- }));
- });
-}
-</script>
-</sky>

Powered by Google App Engine
This is Rietveld 408576698