Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 #settings { | |
| 6 width: 100px; | |
| 7 height: 100px; | |
| 8 position: fixed; | |
| 9 top: 10px; | |
| 10 z-index:2; | |
| 11 background-color:red; | |
| 12 } | |
| 13 | |
| 14 #header { | |
| 15 width:200px; | |
| 16 height:20px; | |
| 17 position:fixed; | |
| 18 right:100px; | |
| 19 top:100px; | |
| 20 z-index:3; | |
| 21 background-color:green; | |
| 22 } | |
| 23 </style> | |
| 24 </head> | |
| 25 | |
| 26 <script> | |
| 27 function runTest() | |
| 28 { | |
| 29 window.internals.settings.setPreferCompositingToLCDTextEnabled(true); | |
| 30 window.scrollTo(0, 0.5) | |
| 31 } | |
| 32 </script> | |
| 33 | |
| 34 <body style="width:1000px;height:2000px;" onload="runTest()"> | |
| 35 <div id="settings" > | |
| 36 <div id="header"> | |
| 37 </div> | |
| 38 </div> | |
| 39 </body> | |
| 40 </html> | |
| OLD | NEW |