Index: tests/lib_strong/html/element_offset_test.dart |
diff --git a/tests/lib_strong/html/element_offset_test.dart b/tests/lib_strong/html/element_offset_test.dart |
index 7e6652396e41ec12dd13d7575c6d7a5a422b0537..ce5327d4681ff36036012a168703070d1a3fb3ad 100644 |
--- a/tests/lib_strong/html/element_offset_test.dart |
+++ b/tests/lib_strong/html/element_offset_test.dart |
@@ -29,8 +29,7 @@ main() { |
var item2 = new LIElement() |
..classes.add('item-2') |
..innerHtml = '2'; |
- var level3 = new UListElement() |
- ..children.addAll([item1, item2]); |
+ var level3 = new UListElement()..children.addAll([item1, item2]); |
var itemb = new LIElement() |
..classes.add('item-b') |
..style.position = 'relative' |
@@ -44,20 +43,20 @@ main() { |
var bar = new DivElement()..classes.add('bar'); |
var style = bar.style; |
- style..position = 'absolute' |
- ..top = '8px' |
- ..left = '90px'; |
+ style |
+ ..position = 'absolute' |
+ ..top = '8px' |
+ ..left = '90px'; |
var baz = new DivElement()..classes.add('baz'); |
style = baz.style; |
- style..position = 'absolute' |
- ..top = '600px' |
- ..left = '7000px'; |
+ style |
+ ..position = 'absolute' |
+ ..top = '600px' |
+ ..left = '7000px'; |
bar.children.add(baz); |
var quux = new DivElement()..classes.add('quux'); |
- var qux = new DivElement() |
- ..classes.add('qux') |
- ..children.add(quux); |
+ var qux = new DivElement()..classes.add('qux')..children.add(quux); |
document.body.append(bar); |
document.body.append(qux); |