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

Side by Side Diff: LayoutTests/compositing/contents-opaque/visibility-hidden.html

Issue 15925012: Merges two WK fixes for RenderLayer::backgroundIsKnownToBeOpaque. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 <html>
jamesr 2013/05/31 01:17:17 add <!DOCTYPE html> (unless this is a quirks mode
alokp 2013/05/31 16:14:47 Done.
2 <head>
3 <style type="text/css">
4 header {
5 position: absolute;
6 top: 20px;
7 width: 200px;
8 height: 50px;
9 background-color: silver;
10 -webkit-transform: translateZ(0);
11 }
12 header.hidden {
13 visibility: hidden;
14 }
15 nav {
16 height: 37px;
17 overflow: hidden;
18 }
19 nav ul li {
20 height: 50px;
21 float: left;
22 overflow: hidden;
23 }
24 </style>
25 <script type="text/javascript">
26 if (window.testRunner)
27 testRunner.dumpAsText();
28
29 function doTest() {
30 var header = document.getElementsByTagName('header')[0];
31 header.classList.toggle('hidden');
32 if (window.testRunner && window.internals)
33 document.getElementById('layertree').innerText = window.inte rnals.layerTreeAsText(document);
34 }
35 window.addEventListener('load', doTest, false);
36 </script>
37 </head>
38
39 <body>
40 <header>
41 <nav>
42 <ul>
43 <li>Some text here</li>
44 </ul>
45 </nav>
46 </header>
47 <pre id="layertree"></pre>
48 </body>
49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698