OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <link rel="stylesheet" href="resources/compositor-touch-hit-rects.css"> | 4 <link rel="stylesheet" href="resources/compositor-touch-hit-rects.css"> |
5 <style> | 5 <style> |
6 #layer { | 6 #layer { |
7 -webkit-transform: translateZ(0); | 7 transform: translateZ(0); |
8 } | 8 } |
9 #manychildren { | 9 #manychildren { |
10 height: 10px; | 10 height: 10px; |
11 } | 11 } |
12 .child:first-child { | 12 .child:first-child { |
13 margin-top: 20px; | 13 margin-top: 20px; |
14 } | 14 } |
15 .child { | 15 .child { |
16 height: 5px; | 16 height: 5px; |
17 width: 5px; | 17 width: 5px; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 template.parentElement.appendChild(template.cloneNode()); | 61 template.parentElement.appendChild(template.cloneNode()); |
62 verifyRectCount(1); | 62 verifyRectCount(1); |
63 | 63 |
64 // Verify that any additional rects get subsumed. | 64 // Verify that any additional rects get subsumed. |
65 template.parentElement.appendChild(template.cloneNode()); | 65 template.parentElement.appendChild(template.cloneNode()); |
66 verifyRectCount(1); | 66 verifyRectCount(1); |
67 }; | 67 }; |
68 | 68 |
69 </script> | 69 </script> |
70 </body> | 70 </body> |
OLD | NEW |