| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>This test is successful if fixed position elements re-layout correctly on
page scale changes</title> | 4 <title>This test is successful if fixed position elements re-layout correctly on
page scale changes</title> |
| 5 <style> | 5 <style> |
| 6 .fixed_size { | 6 .fixed_size { |
| 7 position:fixed; | 7 position:fixed; |
| 8 background-color:#ccffcc; | 8 background-color:#ccffcc; |
| 9 width:50px; | 9 width:50px; |
| 10 height:50px; | 10 height:50px; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 // Force scrollbar to hide and re-layout immediately. | 36 // Force scrollbar to hide and re-layout immediately. |
| 37 var spacer = document.getElementById('spacer'); | 37 var spacer = document.getElementById('spacer'); |
| 38 spacer.style.display = "none"; | 38 spacer.style.display = "none"; |
| 39 document.body.offsetTop; | 39 document.body.offsetTop; |
| 40 } | 40 } |
| 41 } | 41 } |
| 42 </script> | 42 </script> |
| 43 </body> | 43 </body> |
| 44 </html> | 44 </html> |
| OLD | NEW |