OLD | NEW |
1 <sky> | 1 <sky> |
2 <style> | 2 <style> |
3 foo, parent { width: 100px; height: 100px; background: blue; } | 3 foo, parent { width: 100px; height: 100px; background: blue; } |
4 bar { width: 100px; height: 100px; background: purple; } | 4 bar { width: 100px; height: 100px; background: purple; } |
5 parent { display: paragraph; } | 5 parent { display: paragraph; } |
6 child { background: salmon; } | 6 child { background: salmon; display: paragraph; } |
7 canvas { height: 50px; background-color: pink; } | 7 canvas { height: 50px; background-color: pink; } |
8 inline-flex { display: inline-flex; width: 50px; height: 50px; background: green
; } | 8 inline-flex { display: inline-flex; width: 50px; height: 50px; background: green
; } |
9 grand-child { width: 50px; height: 50px; transform: translate3d(100px, 0, 0); ba
ckground: papayawhip; } | 9 grand-child { width: 50px; height: 50px; transform: translate3d(100px, 0, 0); ba
ckground: papayawhip; } |
10 </style> | 10 </style> |
11 <foo /><bar /> | 11 <foo /><bar /> |
12 <parent> | 12 <parent> |
13 <child>Foo bar</child> | 13 <child>Foo bar</child> |
14 <inline-flex> | 14 <inline-flex> |
15 <grand-child /> | 15 <grand-child /> |
16 </inline-flex> | 16 </inline-flex> |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 // This broke sometime before 4153b8a515d54275934d4244aaf2d5a7a8fe3333. | 66 // This broke sometime before 4153b8a515d54275934d4244aaf2d5a7a8fe3333. |
67 expect(document.elementFromPoint(150, 240).tagName, equals('sky')); | 67 expect(document.elementFromPoint(150, 240).tagName, equals('sky')); |
68 }); | 68 }); |
69 | 69 |
70 test("should hit test canvas", () { | 70 test("should hit test canvas", () { |
71 expect(document.elementFromPoint(50, 310).tagName, equals('canvas')); | 71 expect(document.elementFromPoint(50, 310).tagName, equals('canvas')); |
72 }); | 72 }); |
73 } | 73 } |
74 </script> | 74 </script> |
75 </sky> | 75 </sky> |
OLD | NEW |