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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: sky/tests/lowlevel/home.sky
diff --git a/sky/tests/lowlevel/home.sky b/sky/tests/lowlevel/home.sky
index c89f9d3dcecbdec6931ea74e2fa9235eb6f1ccc1..d7c6d49fc536df054b5bb48c00ccf874af6da868 100644
--- a/sky/tests/lowlevel/home.sky
+++ b/sky/tests/lowlevel/home.sky
@@ -1,7 +1,8 @@
<div>
<style>
- .h1 { font-size: 2em; margin: 1em; }
- .p { margin: 0.5em 1em; color: #bcd8f5; font-weight: 900; }
+ .h1, .p { display: paragraph; }
+ .h1 { font-size: 2em; margin: 1em; }
+ .p { margin: 0.5em 1em; color: #bcd8f5; font-weight: 900; }
</style>
<div class="h1">about:blank</div>
<div class="p">Welcome to Sky!</div>
@@ -12,7 +13,7 @@ import "dart:sky.internals" as internals;
// Don't use dump-as-render-tree.sky, we want a test with no imports.
void main() {
sky.window.addEventListener('load', (_) =>
- internals.notifyTestComplete(internals.renderTreeAsText()));
+ internals.notifyTestComplete(internals.renderTreeAsText()));
}
</script>
</div>

Powered by Google App Engine
This is Rietveld 408576698