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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/iframes/invisible-nested-iframe-show.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, 10 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <script src="../../resources/run-after-layout-and-paint.js"></script> 5 <script src="../../resources/run-after-layout-and-paint.js"></script>
6 <style type="text/css" media="screen"> 6 <style type="text/css" media="screen">
7 iframe { 7 iframe {
8 border: 10px solid black; 8 border: 10px solid black;
9 padding: 5px; 9 padding: 5px;
10 height: 150px; 10 height: 150px;
(...skipping 30 matching lines...) Expand all
41 testRunner.notifyDone(); 41 testRunner.notifyDone();
42 } 42 }
43 }); 43 });
44 } 44 }
45 45
46 window.addEventListener('load', doTest, false); 46 window.addEventListener('load', doTest, false);
47 </script> 47 </script>
48 </head> 48 </head>
49 <body> 49 <body>
50 50
51 <!-- The nested iframe should appear when we remove "diplay:none". --> 51 <!-- The nested iframe should appear when we remove "display:none". -->
52 <div id="invisible" style="display:none;"> 52 <div id="invisible" style="display:none;">
53 <iframe src="resources/intermediate-frame.html"></iframe> 53 <iframe src="resources/intermediate-frame.html"></iframe>
54 </div> 54 </div>
55 <div class="box"> 55 <div class="box">
56 </div> 56 </div>
57 <pre id="layers">Layer tree appears here in DRT.</pre> 57 <pre id="layers">Layer tree appears here in DRT.</pre>
58 </body> 58 </body>
59 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698