| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style> | 5 <style> |
| 6 body { | 6 body { |
| 7 margin: 0; | 7 margin: 0; |
| 8 height: 2000px; | 8 height: 2000px; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 position: absolute; | 41 position: absolute; |
| 42 top: 0; | 42 top: 0; |
| 43 left: 0; | 43 left: 0; |
| 44 background-color: red; | 44 background-color: red; |
| 45 } | 45 } |
| 46 </style> | 46 </style> |
| 47 <script> | 47 <script> |
| 48 function doTest() | 48 function doTest() |
| 49 { | 49 { |
| 50 if (window.eventSender) | 50 if (window.eventSender) |
| 51 eventSender.scalePageBy(1.5); | 51 eventSender.setPageScaleFactor(1.5); |
| 52 } | 52 } |
| 53 window.addEventListener('load', doTest, false); | 53 window.addEventListener('load', doTest, false); |
| 54 </script> | 54 </script> |
| 55 </head> | 55 </head> |
| 56 <body> | 56 <body> |
| 57 <div class="group" style="top: -100px"> | 57 <div class="group" style="top: -100px"> |
| 58 <div class="indicator box" style="top: 150px;"></div> | 58 <div class="indicator box" style="top: 150px;"></div> |
| 59 <div class="container"> | 59 <div class="container"> |
| 60 <div class="sticky box"></div> | 60 <div class="sticky box"></div> |
| 61 </div> | 61 </div> |
| 62 </div> | 62 </div> |
| 63 | 63 |
| 64 <div class="group" style="top: 0"> | 64 <div class="group" style="top: 0"> |
| 65 <div class="indicator box" style="top: 75px;"></div> | 65 <div class="indicator box" style="top: 75px;"></div> |
| 66 <div class="container"> | 66 <div class="container"> |
| 67 <div class="sticky box"></div> | 67 <div class="sticky box"></div> |
| 68 </div> | 68 </div> |
| 69 </div> | 69 </div> |
| 70 | 70 |
| 71 <div class="group" style="top: 100px"> | 71 <div class="group" style="top: 100px"> |
| 72 <div class="indicator box" style="top: 0;"></div> | 72 <div class="indicator box" style="top: 0;"></div> |
| 73 <div class="container"> | 73 <div class="container"> |
| 74 <div class="sticky box"></div> | 74 <div class="sticky box"></div> |
| 75 </div> | 75 </div> |
| 76 </div> | 76 </div> |
| 77 </body> | 77 </body> |
| 78 </html> | 78 </html> |
| OLD | NEW |