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

Unified Diff: third_party/WebKit/LayoutTests/compositing/resources/composited-iframe-hidden-subframe.html

Issue 1616183002: Don't composite layers with an invisible frameview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test expectation. Created 4 years, 11 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/compositing/resources/composited-iframe-hidden-subframe.html
diff --git a/third_party/WebKit/LayoutTests/compositing/resources/composited-iframe-hidden-subframe.html b/third_party/WebKit/LayoutTests/compositing/resources/composited-iframe-hidden-subframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..aaeefbd881282c6d31cadd6ab8d6ed6b11d118ce
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/resources/composited-iframe-hidden-subframe.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<style>
+.animatedBackground {
+ width: 70px;
+ height: 80px;
+ position: absolute;
+ background: url("./square-blue-100x100.png") no-repeat 0 0 transparent;
+ animation: anim 4s steps(6) infinite;
+}
+
+.transformedItem {
+ transform: translate3d(42px, 43px, 0);
+ width: 40px;
+ height: 50px;
+ background-color: green;
+}
+
+@keyframes anim {
+ 100% {
+ background-position: 9px 10px
+ }
+}
+</style>
+<div class="animatedBackground"></div>
+<div class="transformedItem"></div>

Powered by Google App Engine
This is Rietveld 408576698