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

Side by Side Diff: LayoutTests/compositing/contents-opaque/hidden-with-visible-text.html

Issue 15925012: Merges two WK fixes for RenderLayer::backgroundIsKnownToBeOpaque. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: added DOCTYPE Created 7 years, 6 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #caption {
6 width: 200px;
7 height: 100px;
8 background-color: green;
9 -webkit-transform: translateZ(0);
10 }
11 .inner {
12 visibility: visible;
13 background-color: blue;
14 }
15 </style>
16 <script type="text/javascript">
17 if (window.testRunner)
18 testRunner.dumpAsText();
19
20 function doTest() {
21 document.getElementById("caption").style.visibility = "hidden";
22 if (window.testRunner && window.internals)
23 document.getElementById('layertree').innerText = window.internal s.layerTreeAsText(document);
24 }
25 window.addEventListener('load', doTest, false);
26 </script>
27 </head>
28 <body>
29 <div id="caption" style="position: fixed; background: green;">Caption</div>
30 <pre id="layertree"></pre>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698