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

Side by Side Diff: sky/tests/lowlevel/home.sky

Issue 1077473002: Stop rendering text inside flex boxes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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
OLDNEW
1 <div> 1 <div>
2 <style> 2 <style>
3 .h1 { font-size: 2em; margin: 1em; } 3 .h1, .p { display: paragraph; }
4 .p { margin: 0.5em 1em; color: #bcd8f5; font-weight: 900; } 4 .h1 { font-size: 2em; margin: 1em; }
5 .p { margin: 0.5em 1em; color: #bcd8f5; font-weight: 900; }
5 </style> 6 </style>
6 <div class="h1">about:blank</div> 7 <div class="h1">about:blank</div>
7 <div class="p">Welcome to Sky!</div> 8 <div class="p">Welcome to Sky!</div>
8 <script> 9 <script>
9 import "dart:sky" as sky; 10 import "dart:sky" as sky;
10 import "dart:sky.internals" as internals; 11 import "dart:sky.internals" as internals;
11 12
12 // Don't use dump-as-render-tree.sky, we want a test with no imports. 13 // Don't use dump-as-render-tree.sky, we want a test with no imports.
13 void main() { 14 void main() {
14 sky.window.addEventListener('load', (_) => 15 sky.window.addEventListener('load', (_) =>
15 internals.notifyTestComplete(internals.renderTreeAsText())); 16 internals.notifyTestComplete(internals.renderTreeAsText()));
16 } 17 }
17 </script> 18 </script>
18 </div> 19 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698