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

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

Issue 884503003: Add some basic test coverage for layers. (Closed) Base URL: https://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/lowlevel/layers-expected.sky » ('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
3 <import src="../resources/run-after-display.sky" as="runAfterDisplay" />
4 <style>
5 sky {
6 padding: 10px;
7 }
8 div {
9 width: 50px;
10 height: 50px;
11 white-space: nowrap;
12 }
13 </style>
14 Transforms
15 <div style="transform: translate3d(10px, 10px, 0); background-color: pink;">
16 One
17 <div style="transform: translate3d(10px, 10px, 0); background-color: salmon;">
18 Two
19 <div style="transform: translate3d(10px, 10px, 0); background-color: papayaw hip;">
20 Three
21 </div>
22 </div>
23 </div>
24
25 <div style="position: absolute; right: 50px;">
26 <div style="background-color: red;">
27 1
28 </div>
29 <div style="position: absolute; left: 40px; top: 40px; z-index: 2; background- color: pink;">
30 4
31 </div>
32 <div style="position: absolute; left: 20px; top: 20px; z-index: 0; background- color: salmon;">
33 2
34 </div>
35 <div style="position: absolute; left: 35px; top: 20px; z-index: 1; background- color: papayawhip;">
36 3
37 </div>
38 <div style="background-color: green;">
39 1
40 </div>
41 z-index
42 </div>
43
44 <div style="position: absolute; bottom: 50px;">
45 Clip-path
46 <div style="background-color: pink; -webkit-clip-path: circle(25px at 25px 25p x);">
47 <div style="background-color: salmon; -webkit-clip-path: circle(25px at 35px 35px);">
48 <div style="background-color: papayawhip; -webkit-clip-path: circle(25px a t 45px 45px);"></div>
49 </div>
50 </div>
51 </div>
52
53 <script>
54 runAfterDisplay(function() {
55 internals.notifyTestComplete("");
56 });
57 </script>
58
59 </sky>
OLDNEW
« no previous file with comments | « no previous file | sky/tests/lowlevel/layers-expected.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698