| 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 iframe { | 6 iframe { |
| 7 height: 25px; | 7 height: 25px; |
| 8 width: 400px; | 8 width: 400px; |
| 9 overflow-x: hidden; | 9 overflow-x: hidden; |
| 10 } | 10 } |
| 11 #iframe-nested { | 11 #iframe-nested { |
| 12 height: 35px; | 12 height: 35px; |
| 13 } | 13 } |
| 14 #iframe-transform { | 14 #iframe-transform { |
| 15 -webkit-transform: scale(1.1) rotate(1grad); | 15 transform: scale(1.1) rotate(1grad); |
| 16 margin: 10px 30px; | 16 margin: 10px 30px; |
| 17 } | 17 } |
| 18 </style> | 18 </style> |
| 19 </head> | 19 </head> |
| 20 <body> | 20 <body> |
| 21 <p id="description"> | 21 <p id="description"> |
| 22 This tests verifies the hit test regions given to the compositor when non-compos
ited iframes are involved. | 22 This tests verifies the hit test regions given to the compositor when non-compos
ited iframes are involved. |
| 23 It can only be run in DumpRenderTree. The outputted rects should cover the hit
test regions of all the listed elements. Enable visualize mode to quickly valid
ate graphically.</p> | 23 It can only be run in DumpRenderTree. The outputted rects should cover the hit
test regions of all the listed elements. Enable visualize mode to quickly valid
ate graphically.</p> |
| 24 | 24 |
| 25 <div id="tests"> | 25 <div id="tests"> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 46 } | 46 } |
| 47 function additionalTests() { | 47 function additionalTests() { |
| 48 runIFrameTest('iframe'); | 48 runIFrameTest('iframe'); |
| 49 runIFrameTest('iframe-nested'); | 49 runIFrameTest('iframe-nested'); |
| 50 runIFrameTest('iframe-transform'); | 50 runIFrameTest('iframe-transform'); |
| 51 runIFrameTest('iframe-fixed'); | 51 runIFrameTest('iframe-fixed'); |
| 52 runIFrameTest('iframe-doc'); | 52 runIFrameTest('iframe-doc'); |
| 53 } | 53 } |
| 54 </script> | 54 </script> |
| 55 </body> | 55 </body> |
| OLD | NEW |