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

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

Issue 943113003: Add render tree dump and pixel tests for statically placed position:absolute. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | sky/tests/layout/position-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 <import src="../resources/dump-as-render-tree.sky" />
2
3 <style>
4 block, paragraph, flex {
5 width: 100px;
6 height: 100px;
7 margin-bottom: 50px;
8 /* Make it a positioning root. */
9 transform: translate3d(0, 0, 0);
10 }
11 block { background: pink; }
12 paragraph {
13 background: orange;
14 display: paragraph;
15 }
16 flex {
17 background: salmon;
18 display: flex;
19 }
20 spacer {
21 height: 30px;
22 width: 30px;
23 border: 5px solid purple;
24 background: papayawhip;
25 }
26 absolute {
27 position: absolute;
28 width: 20px;
29 height: 20px;
30 background: green;
31 }
32 </style>
33 <block>
34 <spacer />
35 <absolute />
36 <spacer />
37 </block>
38
39 <paragraph>
40 <spacer />
41 <absolute />
42 <spacer />
43 </paragraph>
44
45 <flex>
46 <spacer />
47 <absolute />
48 <spacer />
49 </flex>
OLDNEW
« no previous file with comments | « no previous file | sky/tests/layout/position-absolute-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698