Index: third_party/WebKit/LayoutTests/paint/invalidation/border-radius-repaint-2.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/border-radius-repaint-2.html b/third_party/WebKit/LayoutTests/paint/invalidation/border-radius-repaint-2.html |
index aa972a0a0156342e7259d9c141157f0f5cc34be4..51020a7989654580f8a38531aabb61ad88c8a014 100644 |
--- a/third_party/WebKit/LayoutTests/paint/invalidation/border-radius-repaint-2.html |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/border-radius-repaint-2.html |
@@ -3,13 +3,11 @@ |
<head> |
<title>Repaint test for crbug.com/222851</title> |
<script src="resources/text-based-repaint.js" type="text/javascript"></script> |
+<style> |
+/* Avoid the noise caused by change of scrollbar existence. */ |
+html { overflow: hidden; } |
+</style> |
<script> |
-if (window.internals) { |
- // Avoid the noise caused by change of scrollbar existence. |
- internals.settings.setOverlayScrollbarsEnabled(true); |
- internals.settings.setMockScrollbarsEnabled(true); |
-} |
- |
function repaintTest() { |
document.getElementById('target').style.height = '2px'; |
} |
@@ -17,12 +15,12 @@ function repaintTest() { |
</head> |
<body style="background-color: #3F3F3F;" onload="runRepaintAndPixelTest()"> |
<div style="border-radius: 150px; background-color: #EFEFEF; width: 90%; padding: 5em; margin: 0 auto;"> |
- <div style="border-radius: 5px; border: solid 3px #367CAF; width: 85%; margin: 0 auto;"> |
- <div class="notARealClass" style="background-color: #367CAF; height: 3em; cursor: pointer;"> |
- </div> |
- <div id="target" style="width: 100%; height: 550px;"> |
- </div> |
- </div> |
+ <div style="border-radius: 5px; border: solid 3px #367CAF; width: 85%; margin: 0 auto;"> |
+ <div class="notARealClass" style="background-color: #367CAF; height: 3em; cursor: pointer;"> |
+ </div> |
+ <div id="target" style="width: 100%; height: 550px;"> |
+ </div> |
+ </div> |
</div> |
</body> |
</html> |