Index: third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.html |
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.html b/third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.html |
index 2d0fac312ab453d1e603e68de9fbccd76407db07..b49288852685fefc1b771dbdd07b0d1d4b8580bc 100644 |
--- a/third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.html |
+++ b/third_party/WebKit/LayoutTests/fast/repaint/absolute-display-block-to-none.html |
@@ -4,7 +4,7 @@ |
function repaintTest() { |
document.getElementById('absolute').style.display = 'none'; |
} |
-onload = runRepaintTest; |
+onload = runRepaintAndPixelTest; |
</script> |
When an absolute positioned element is set display:none, we should not invalidate the whole body. |
<div id="absolute" style="position: absolute; width: 100px; height: 100px; top: 100px; left: 100px; background-color: red"></div> |