| <!-- This test asserts that blit-scrolling is disabled when blur is applied on a layer |
| that contains an intermediate layer which has a fixed positioned object inside. |
| One fixed black bar should be visible at the top of the page. The page should be scrolled |
| 100px and no red should be visible. The rest of the page should be green. |
| // Force software rendering mode. |
| window.testRunner.overridePreference("WebKitAcceleratedCompositingEnabled", "0"); |
| -webkit-filter: blur(1px); |
| /* Using very subtle grayscale to keep the green & red still visible. */ |
| -webkit-filter: grayscale(0.1); |
| background-color: #000000; |
| <script src="../../fast/repaint/resources/repaint.js"></script> |
| <script type="text/javascript"> |
| <body onload="runRepaintTest()"> |
| <div id="fixedBox"></div> |
| <div id="greenBox"></div> |