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> |