Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <parent style='background-color: lightblue;'> | |
| 2 <child style='background-color: pink;' /> | |
| 3 </parent> | |
| 4 <script> | |
| 5 import 'dart:sky'; | |
| 6 | |
| 7 void main() { | |
| 8 var parent = document.querySelector('parent'); | |
| 9 parent.setLayoutManager(() { | |
| 10 parent.width = 200.0; | |
| 11 parent.height = 100.0; | |
| 12 | |
| 13 var child = document.querySelector('child'); | |
| 14 child.x = 100.0; | |
| 15 child.y = 50.0; | |
| 16 child.width = 100.0; | |
| 17 child.height = 50.0; | |
| 18 }); | |
| 19 } | |
| 20 </script> | |
|
abarth-chromium
2015/03/25 00:18:51
Can we make this into a test rather than an exampl
ojan
2015/04/02 00:02:29
Good point. This should be easy to test. I was jus
| |
| OLD | NEW |