OLD | NEW |
1 <!-- This test asserts that blit-scrolling is disabled when blur is applied on a
layer | 1 <!-- This test asserts that blit-scrolling is disabled when blur is applied on a
layer |
2 that contains an intermediate layer which has a fixed positioned object insi
de. | 2 that contains an intermediate layer which has a fixed positioned object insi
de. |
3 One fixed black bar should be visible at the top of the page. The page shoul
d be scrolled | 3 One fixed black bar should be visible at the top of the page. The page shoul
d be scrolled |
4 100px and no red should be visible. The rest of the page should be green. | 4 100px and no red should be visible. The rest of the page should be green. |
5 --> | 5 --> |
6 <!DOCTYPE html> | 6 <!DOCTYPE html> |
7 <html> | 7 <html> |
8 <head> | 8 <head> |
9 <script> | 9 <script> |
10 if (window.testRunner) { | 10 if (window.testRunner) |
11 // Force software rendering mode. | 11 testRunner.waitUntilDone(); |
12 window.testRunner.overridePreference("WebKitAcceleratedCompositi
ngEnabled", "0"); | |
13 window.testRunner.waitUntilDone(); | |
14 } | |
15 </script> | 12 </script> |
16 <!-- Make sure the mock scrollbars are enabled after the call to overrid
ePreference, otherwise the setting will be overwritten. --> | 13 <!-- Make sure the mock scrollbars are enabled after the call to overrid
ePreference, otherwise the setting will be overwritten. --> |
17 <script src="../../compositing/resources/mock_scrollbars.js"></script> | 14 <script src="../../compositing/resources/mock_scrollbars.js"></script> |
18 <style> | 15 <style> |
19 body { | 16 body { |
20 margin: 0px; | 17 margin: 0px; |
21 border: 0px; | 18 border: 0px; |
22 padding: 0px; | 19 padding: 0px; |
23 } | 20 } |
24 | 21 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 <body onload="repaintTest()"> | 59 <body onload="repaintTest()"> |
63 <div class="blur"> | 60 <div class="blur"> |
64 <div class="layer"> | 61 <div class="layer"> |
65 <div id="fixedBox"></div> | 62 <div id="fixedBox"></div> |
66 <div id="redBox"></div> | 63 <div id="redBox"></div> |
67 <div id="greenBox"></div> | 64 <div id="greenBox"></div> |
68 </div> | 65 </div> |
69 </div> | 66 </div> |
70 </body> | 67 </body> |
71 </html> | 68 </html> |
OLD | NEW |