| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <!-- | 5 <!-- |
| 6 This content was originally intended as a layout test, but the sequencin
g performed by | 6 This content was originally intended as a layout test, but the sequencin
g performed by |
| 7 queueBackNavigation/queueForwardNavigation differs somehow from what occ
urs when hitting | 7 queueBackNavigation/queueForwardNavigation differs somehow from what occ
urs when hitting |
| 8 the back and forward buttons, so the error does not occur. I've left all
the LayoutTestController | 8 the back and forward buttons, so the error does not occur. I've left all
the LayoutTestController |
| 9 logic in the test in case this is fixed in the future. | 9 logic in the test in case this is fixed in the future. |
| 10 --> | 10 --> |
| 11 | 11 |
| 12 <title>Show composited iframe contents when navigating back to page</title> | 12 <title>Show composited iframe contents when navigating back to page</title> |
| 13 <style type="text/css" media="screen"> | 13 <style type="text/css" media="screen"> |
| 14 #box { | 14 #box { |
| 15 background-color: red; | 15 background-color: red; |
| 16 width: 100px; | 16 width: 100px; |
| 17 height: 100px; | 17 height: 100px; |
| 18 -webkit-transform: translateZ(0); | 18 transform: translateZ(0); |
| 19 } | 19 } |
| 20 iframe { | 20 iframe { |
| 21 margin: 20px; | 21 margin: 20px; |
| 22 height: 250px; | 22 height: 250px; |
| 23 width: 250px; | 23 width: 250px; |
| 24 border: 1px solid black; | 24 border: 1px solid black; |
| 25 } | 25 } |
| 26 | 26 |
| 27 .composited { | 27 .composited { |
| 28 -webkit-transform: translateZ(0); | 28 transform: translateZ(0); |
| 29 } | 29 } |
| 30 | 30 |
| 31 </style> | 31 </style> |
| 32 <script type="text/javascript" charset="utf-8"> | 32 <script type="text/javascript" charset="utf-8"> |
| 33 var dumpLayerTree = function() | 33 var dumpLayerTree = function() |
| 34 { | 34 { |
| 35 if (window.layoutTestController) { | 35 if (window.layoutTestController) { |
| 36 document.getElementById('layers').innerHTML += "Layer Tree after
\n\n"+layoutTestController.layerTreeAsText()+"\n\n"; | 36 document.getElementById('layers').innerHTML += "Layer Tree after
\n\n"+layoutTestController.layerTreeAsText()+"\n\n"; |
| 37 } | 37 } |
| 38 } | 38 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 67 </p> | 67 </p> |
| 68 <pre> | 68 <pre> |
| 69 <a href="http://apple.com">http://apple.com</a> | 69 <a href="http://apple.com">http://apple.com</a> |
| 70 </pre> | 70 </pre> |
| 71 <div id=box></div> | 71 <div id=box></div> |
| 72 <iframe id="iframe" scrolling="no" src="resources/composited-subframe.html">
</iframe> | 72 <iframe id="iframe" scrolling="no" src="resources/composited-subframe.html">
</iframe> |
| 73 <br> | 73 <br> |
| 74 <pre id="layers"></pre> | 74 <pre id="layers"></pre> |
| 75 </body> | 75 </body> |
| 76 </html> | 76 </html> |
| OLD | NEW |