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

Unified Diff: LayoutTests/paint/invalidation/invalidate-when-receiving-paint-layer.html

Issue 1337233002: Invalidate paint when allocating a DeprecatedPaintLayer. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: LayoutTests/paint/invalidation/invalidate-when-receiving-paint-layer.html
diff --git a/LayoutTests/paint/invalidation/invalidate-when-receiving-paint-layer.html b/LayoutTests/paint/invalidation/invalidate-when-receiving-paint-layer.html
new file mode 100644
index 0000000000000000000000000000000000000000..d68bbb456d391728e8342de925423c6786b87e9a
--- /dev/null
+++ b/LayoutTests/paint/invalidation/invalidate-when-receiving-paint-layer.html
@@ -0,0 +1,18 @@
+<!doctype HTML>
+<div style="will-change: transform; position: fixed"></div>
+<div style="position: relative; border: 1px solid black;">
+ <div id="target" style="opacity: 1; height: 100px; width: 200px;">
chrishtr 2015/09/14 23:07:52 First we paint two composited layers: one for the
+ This text should be very light
+ </div>
+</div>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+if (window.testRunner)
+ window.testRunner.waitUntilDone();
+onload = function() {
+ runAfterLayoutAndPaint(function() {
+ target.style.opacity = 0.2;
+ testRunner.notifyDone();
+ });
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698