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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-squahed-layer.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - 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/paint/invalidation/compositing/scroll-fixed-squahed-layer.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-squahed-layer.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-squahed-layer.html
new file mode 100644
index 0000000000000000000000000000000000000000..e1761d7ad864c137d1797e5c88e27939d57ced1f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/scroll-fixed-squahed-layer.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../resources/text-based-repaint.js"></script>
+<style>
+.main {
+ position: fixed;
+ top: 100px;
+ left: 100px;
+ width: 200px;
+ height: 200px;
+ background-color: lightblue;
+ will-change: transform;
+}
+
+.squahed {
+ position: fixed;
+ top: 150px;
+ left: 100px;
+ width: 200px;
+ height: 200px;
+ background-color: lightgreen;
+}
+</style>
+<script>
+if (window.internals)
+ internals.settings.setPreferCompositingToLCDTextEnabled(false);
+
+function repaintTest() {
+ window.scrollTo(0, 100);
+}
+</script>
+</head>
+<body style="height:2000px" onload="runRepaintAndPixelTest()">
+<div class="main"></div>
+<div class="squahed"></div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698