Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/border-radius-repaint-2.html

Issue 2842553003: Call SAC::DidScrollUpdate only for compositor-triggered scrolls. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | third_party/WebKit/LayoutTests/paint/invalidation/border-radius-repaint-2-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698