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

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

Issue 1215063003: Remove Sky tests that we don't intend to port to the new world (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
OLDNEW
(Empty)
1 <sky>
2
3 <import src="../resources/run-after-display.sky" />
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; top: 250px;">
26 Opacity
27 <div style="opacity: 0.8; background-color: pink; transform: translate3d(0, 0, 0)">
28 One
29 <div style="opacity: 0.7; position: absolute; left: 15px; top: 10px; backgro und-color: salmon;">
30 Two
31 <div style="opacity: 0.6; position: absolute; left: 15px; top: 10px; backg round-color: papayawhip;">
32 Three
33 <div style="opacity: 0; transform: translate3d(0, 10px, 0); background-c olor: papayawhip;">
34 Clear
35 </div>
36 </div>
37 </div>
38 </div>
39 </div>
40
41
42 <div style="position: absolute; right: 50px;">
43 <div style="background-color: red;">
44 1
45 </div>
46 <div style="position: absolute; left: 40px; top: 40px; z-index: 2; background- color: pink;">
47 4
48 </div>
49 <div style="position: absolute; left: 20px; top: 20px; z-index: 0; background- color: salmon;">
50 2
51 </div>
52 <div style="position: absolute; left: 35px; top: 20px; z-index: 1; background- color: papayawhip;">
53 3
54 </div>
55 <div style="background-color: green;">
56 1
57 </div>
58 z-index
59 </div>
60
61 <div style="position: absolute; bottom: 50px;">
62 Clip-path
63 <div style="background-color: pink; -webkit-clip-path: circle(25px at 25px 25p x);">
64 <div style="background-color: salmon; -webkit-clip-path: circle(25px at 35px 35px);">
65 <div style="background-color: papayawhip; -webkit-clip-path: circle(25px a t 45px 45px);"></div>
66 </div>
67 </div>
68 </div>
69
70 <script>
71 import "dart:sky.internals" as internals;
72
73 void main() {
74 runAfterDisplay(() {
75 internals.notifyTestComplete("");
76 });
77 }
78 </script>
79
80 </sky>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698