Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 #caption { | 5 #caption { |
| 6 width: 200px; | 6 width: 200px; |
| 7 height: 100px; | 7 height: 100px; |
| 8 background-color: green; | 8 background-color: green; |
| 9 transform: translateZ(0); | 9 transform: translateZ(0); |
| 10 } | 10 } |
| 11 .inner { | 11 .inner { |
| 12 visibility: visible; | 12 visibility: visible; |
| 13 background-color: blue; | 13 background-color: blue; |
| 14 } | 14 } |
| 15 </style> | 15 </style> |
| 16 <script type="text/javascript"> | 16 <script type="text/javascript"> |
| 17 if (window.testRunner) | 17 if (window.testRunner) |
| 18 testRunner.dumpAsText(); | 18 testRunner.dumpAsText(); |
| 19 | 19 |
| 20 function doTest() { | 20 function doTest() { |
| 21 document.getElementById("caption").style.visibility = "hidden"; | 21 document.getElementById("caption").style.visibility = "hidden"; |
| 22 if (window.testRunner && window.internals) | 22 if (window.testRunner && window.internals) |
| 23 document.getElementById('layertree').innerText = window.internal s.layerTreeAsText(document); | 23 document.getElementById('layertree').innerText = window.internal s.layerTreeAsText(document); |
| 24 } | 24 } |
| 25 window.addEventListener('load', doTest, false); | 25 window.addEventListener('load', doTest, false); |
| 26 </script> | 26 </script> |
| 27 </head> | 27 </head> |
| 28 <body> | 28 <body> |
| 29 <div id="caption" style="position: fixed; background: green;">Caption</div> | 29 <div id="caption" style="position: fixed; background: green;"> |
| 30 <span class="inner">Caption</span></div> | |
|
chrishtr
2016/12/01 16:13:37
My CL actually fixes this test, as it was previous
| |
| 30 <pre id="layertree"></pre> | 31 <pre id="layertree"></pre> |
| 31 </body> | 32 </body> |
| 32 </html> | 33 </html> |
| OLD | NEW |