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

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

Issue 700743002: Remove margin collapsing. (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
« no previous file with comments | « sky/tests/layout/margins.sky ('k') | sky/tests/layout/margins-absolute-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <sky>
2 <import src="../resources/check-layout.sky" as="checkLayout" />
3 <style>
4 .root {
5 margin: 5px;
6 }
7 .child {
8 margin: 10px;
9 height: 30px;
10 position: absolute;
11 }
12 </style>
13 <div class="root" data-expected-height="0" data-total-y="5" style="background- color: pink">
14 <div class="child" data-total-y="15" style="background-color: salmon"></div>
15 </div>
16
17 <script>
18 checkLayout('.root');
19 </script>
20 </sky>
21
OLDNEW
« no previous file with comments | « sky/tests/layout/margins.sky ('k') | sky/tests/layout/margins-absolute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698