Index: third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..35f5f659a468964bf1275fe326ff9dae6fd5451f |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<style>::-webkit-scrollbar {display: none;}</style> |
+<script src="../resources/text-based-repaint.js"></script> |
+<script> |
+if (window.internals) |
+ internals.settings.setPreferCompositingToLCDTextEnabled(true); |
+function repaintTest() { |
+ target.style.opacity = '.5'; |
+ target.style.backgroundColor = 'green'; |
+} |
+onload = runRepaintAndPixelTest; |
+</script> |
+<div style="width: 100px; height: 100px; overflow: scroll"> |
+ <div id="target" style="width: 200px; height: 200px; background: red; overflow: hidden"></div> |
+ <div></div> |
+</div> |
Xianzhu
2017/03/09 21:36:54
This test is not created as a ref test because I c
wkorman
2017/03/10 23:38:09
Acknowledged.
|