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

Side by Side Diff: sky/tests/framework/basic.sky

Issue 1139123007: [Effen] remove the last traces of the 'display' property from the effen component library. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: update test Created 5 years, 7 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
« no previous file with comments | « sky/framework/layout.dart ('k') | sky/tests/framework/basic-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <import src="../resources/run-after-display.sky" /> 1 <import src="../resources/run-after-display.sky" />
2 <script> 2 <script>
3 import 'basic.dart'; 3 import 'basic.dart';
4 import 'dart:sky'; 4 import 'dart:sky';
5 import '../resources/dom_serializer.dart'; 5 import '../resources/dom_serializer.dart';
6 import 'dart:sky.internals' as internals; 6 import 'dart:sky.internals' as internals;
7 7
8 void main() { 8 void main() {
9 new TestApp(); 9 new TestApp();
10 runAfterDisplay(() { 10 runAfterDisplay(() {
11 var result = serializeNode(document.lastChild.previousSibling) + serializeNo de(document.lastChild); 11 document.firstChild.remove();
12 document.firstChild.remove();
13 var result = serializeNode(document);
12 try { 14 try {
13 internals.notifyTestComplete(result); 15 internals.notifyTestComplete(result);
14 } catch (e) { 16 } catch (e) {
15 print(e); 17 print(e);
16 print(result); 18 print(result);
17 } 19 }
18 }); 20 });
19 } 21 }
20 </script> 22 </script>
OLDNEW
« no previous file with comments | « sky/framework/layout.dart ('k') | sky/tests/framework/basic-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698