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

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

Issue 2747143004: 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>

Powered by Google App Engine
This is Rietveld 408576698