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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/new-stacking-context.html

Issue 2738303002: Eagerly invalidate when a layer becomes stacking context (Closed)
Patch Set: - Created 3 years, 9 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/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.

Powered by Google App Engine
This is Rietveld 408576698