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

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html

Issue 2259493004: Fix Compositing of Opaque Scrolling Layers and Add Tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. Created 4 years, 3 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/compositing/overflow/overflow-scroll-with-opaque-background.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html
index ac1de10ab5c0fa8c5306df080fcb1fd207d66297..1b51afad82ea0e2c21f9ebbf2db25d4a6dd3ac39 100644
--- a/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-opaque-background.html
@@ -1,6 +1,9 @@
<script>
if (window.testRunner)
- window.testRunner.dumpAsText();
+ testRunner.dumpAsText();
+
+if (window.internals)
+ internals.runtimeFlags.compositeOpaqueScrollersEnabled = true;
function hasOpaqueCompositedScrollingContentsLayer(layer) {
if (layer.name == "Scrolling Contents Layer")
@@ -24,7 +27,7 @@ onload = function() {
result += "Pass.\n";
else
result += "Fail.\n";
- window.testRunner.setCustomTextOutput(result);
+ testRunner.setCustomTextOutput(result);
}
</script>
<style>
@@ -34,7 +37,6 @@ onload = function() {
overflow: scroll;
width: 200px;
height: 200px;
- will-change: transform;
}
.spacer {
height: 300px;

Powered by Google App Engine
This is Rietveld 408576698