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

Side by Side Diff: sky/tests/layout/document-elementFromPoint-absolute-position.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 <style> 1 <style>
2 postive-z-above, 2 postive-z-above,
3 postive-z-below, 3 postive-z-below,
4 zero-z-above, 4 zero-z-above,
5 zero-z-below, 5 zero-z-below,
6 no-z-above, 6 no-z-above,
7 no-z-below, 7 no-z-below,
8 postive-z-after { 8 postive-z-after {
9 position: absolute; 9 position: absolute;
10 display: block; 10 display: flex;
11 left: 0; 11 left: 0;
12 right: 0; 12 right: 0;
13 top: 0; 13 top: 0;
14 bottom: 0; 14 bottom: 0;
15 background-color: blue; 15 background-color: blue;
16 } 16 }
17 17
18 no-z-below { 18 no-z-below {
19 top: 50px; 19 top: 50px;
20 background-color: green; 20 background-color: green;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 test("should hit test sixth", () { 84 test("should hit test sixth", () {
85 expect(document.elementFromPoint(100, 275).tagName, equals('postive-z-below' )); 85 expect(document.elementFromPoint(100, 275).tagName, equals('postive-z-below' ));
86 }); 86 });
87 87
88 test("should hit test seventh", () { 88 test("should hit test seventh", () {
89 expect(document.elementFromPoint(100, 325).tagName, equals('postive-z-after' )); 89 expect(document.elementFromPoint(100, 325).tagName, equals('postive-z-after' ));
90 }); 90 });
91 } 91 }
92 </script> 92 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698