OLD | NEW |
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 Loading... |
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> |
OLD | NEW |