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

Side by Side Diff: LayoutTests/compositing/squashing/dont-squash-into-iframes.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!doctype html> 1 <iframe style="transform: translateZ(0); position: absolute; top: 0px; left: 0px ; height: 100px; width: 100px; background: lightblue"></iframe>
2 2
3 <div style="width: 200px; height: 200px; background: lightgray; transform: trans lateZ(0)"></div> 3 <div style="position: absolute; top: 50px; left: 50px; width: 200px; height: 200 px; background: lightgray;"></div>
4 <iframe style="position: absolute; top: 0px; left: 0px; height: 100px; width: 10 0px; background: lightblue">
5 </iframe>
6 <script src="../../resources/run-after-display.js"></script> 4 <script src="../../resources/run-after-display.js"></script>
7 <script> 5 <script>
6 // Tests that squashing into iframes is not allowed.
8 if (internals) 7 if (internals)
9 internals.settings.setLayerSquashingEnabled(true); 8 internals.settings.setLayerSquashingEnabled(true);
10 if (testRunner) { 9 if (testRunner) {
11 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
12 testRunner.waitUntilDone(); 11 testRunner.waitUntilDone();
13 runAfterDisplay(function() { 12 runAfterDisplay(function() {
14 testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document )); 13 testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document ));
15 testRunner.notifyDone(); 14 testRunner.notifyDone();
16 }); 15 });
17 } 16 }
18 17
19 </script> 18 </script>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/compositing/squashing/dont-squash-into-iframes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698