Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / background-image-paint-invalidation.html
blobcd9a21fb9a00458b256184cd7d87986e0db389ba
1 <!-- Based on fast/repaint/background-image-paint-invalidation.html -->
2 <!DOCTYPE html>
3 <body style="background: ; width: 800px; height: 2000px;">
4 </body>
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></script>
6 <script>
7 // Tests that repaint when changing a document background image invalidates the whole document, not just the part that is visible on the screen.
9 window.expectedPaintInvalidationObjects = [
10 "LayoutView #document",
11 "LayoutBlockFlow BODY",
13 function paintInvalidationTest() {
14 document.body.style.background = 'url(../../../fast/repaint/resources/ducky.png)';
16 runPaintInvalidationTest();
17 </script>