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

Side by Side Diff: sky/tests/layout/margins.sky

Issue 699113002: Add the check layout framework for tests. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
(Empty)
1 <sky>
2 <import src="../resources/check-layout.sky" />
3 <style>
4 .child {
5 margin: 10px;
6 height: 30px;
7 }
8 </style>
9 <div class="root" data-expected-height="70" data-total-y="10" style="backgroun d-color: pink">
10 <div class="child" data-total-y="10" style="background-color: salmon"></div>
11 <div class="child" data-total-y="50" style="background-color: papayawhip"></ div>
12 </div>
13
14 <script>
15 window.checkLayout('.root');
16 </script>
17 </sky>
OLDNEW
« no previous file with comments | « no previous file | sky/tests/layout/margins-expected.txt » ('j') | sky/tests/resources/check-layout.sky » ('J')

Powered by Google App Engine
This is Rietveld 408576698