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

Unified Diff: LayoutTests/compositing/squashing/dont-squash-into-videos.html

Issue 575353002: Don't squash into RenderPart subclasses. Don't squash into video elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed. Created 6 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/compositing/squashing/dont-squash-into-videos.html
diff --git a/LayoutTests/compositing/squashing/iframes-are-never-squashed.html b/LayoutTests/compositing/squashing/dont-squash-into-videos.html
similarity index 54%
copy from LayoutTests/compositing/squashing/iframes-are-never-squashed.html
copy to LayoutTests/compositing/squashing/dont-squash-into-videos.html
index 8c4890a1aa8b44c24c507a0e859a548a0795d00c..8dd23d2bc2b7e0d117a8a477c553356e6f8ea579 100644
--- a/LayoutTests/compositing/squashing/iframes-are-never-squashed.html
+++ b/LayoutTests/compositing/squashing/dont-squash-into-videos.html
@@ -1,10 +1,9 @@
-<!doctype html>
+<video style="transform: translateZ(0); position: absolute; top: 0px; left: 0px; height: 100px; width: 100px; background: lightblue"></video>
-<div style="width: 200px; height: 200px; background: lightgray; transform: translateZ(0)"></div>
-<iframe style="position: absolute; top: 0px; left: 0px; height: 100px; width: 100px; background: lightblue">
-</iframe>
+<div style="position: absolute; top: 50px; left: 50px; width: 200px; height: 200px; background: lightgray;"></div>
<script src="../../resources/run-after-display.js"></script>
<script>
+// Tests that squashing into videos is not allowed.
if (internals)
internals.settings.setLayerSquashingEnabled(true);
if (testRunner) {

Powered by Google App Engine
This is Rietveld 408576698