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

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

Issue 1061163002: Remove all uses of display:block and display:inline-block. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: update one more usage Created 5 years, 8 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
1 <import src="../resources/run-after-display.sky" /> 1 <import src="../resources/run-after-display.sky" />
2 2
3 <style> 3 <style>
4 block, paragraph, flex { 4 block, paragraph, flex {
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 margin-bottom: 50px; 7 margin-bottom: 50px;
8 /* Make it a positioning root. */ 8 /* Make it a positioning root. */
9 transform: translate3d(0, 0, 0); 9 transform: translate3d(0, 0, 0);
10 } 10 }
11 block { background: pink; } 11 block { background: pink; }
12 paragraph { 12 paragraph {
13 background: orange; 13 background: orange;
14 display: paragraph; 14 display: paragraph;
15 } 15 }
16 flex { 16 flex {
17 background: salmon; 17 background: salmon;
18 display: flex; 18 display: flex;
19 flex-direction: row;
19 } 20 }
20 spacer { 21 spacer {
21 height: 30px; 22 height: 30px;
22 width: 30px; 23 width: 30px;
23 border: 5px solid purple; 24 border: 5px solid purple;
24 background: papayawhip; 25 background: papayawhip;
25 } 26 }
26 absolute { 27 absolute {
27 position: absolute; 28 position: absolute;
28 width: 20px; 29 width: 20px;
(...skipping 24 matching lines...) Expand all
53 import "dart:sky.internals" as internals; 54 import "dart:sky.internals" as internals;
54 55
55 void main() { 56 void main() {
56 window.addEventListener("load", (_) { 57 window.addEventListener("load", (_) {
57 runAfterDisplay(() { 58 runAfterDisplay(() {
58 internals.notifyTestComplete(""); 59 internals.notifyTestComplete("");
59 }); 60 });
60 }); 61 });
61 } 62 }
62 </script> 63 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698