| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <head> | 4 <head> |
| 5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
| 6 iframe { | 6 iframe { |
| 7 border: 10px solid black; | 7 border: 10px solid black; |
| 8 padding: 5px; | 8 padding: 5px; |
| 9 margin: 50px; | 9 margin: 50px; |
| 10 height: 170px; | 10 height: 170px; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 document.getElementById('layers').innerHTML = window.internals.layer
TreeAsText(document); | 36 document.getElementById('layers').innerHTML = window.internals.layer
TreeAsText(document); |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 | 39 |
| 40 window.addEventListener('load', doTest, false); | 40 window.addEventListener('load', doTest, false); |
| 41 </script> | 41 </script> |
| 42 </head> | 42 </head> |
| 43 <body> | 43 <body> |
| 44 | 44 |
| 45 <!-- Test that the parent document becomes composited when the iframe become
s overlapped. --> | 45 <!-- Test that the parent document becomes composited when the iframe become
s overlapped. --> |
| 46 <!-- The iframe does not start with a RenderLayer. --> | 46 <!-- The iframe does not start with a Layer. --> |
| 47 <iframe id="iframe" src="resources/composited-subframe.html"></iframe> | 47 <iframe id="iframe" src="resources/composited-subframe.html"></iframe> |
| 48 | 48 |
| 49 <div id="overlay"> | 49 <div id="overlay"> |
| 50 </div> | 50 </div> |
| 51 | 51 |
| 52 <pre id="layers">Layer tree appears here in DRT.</pre> | 52 <pre id="layers">Layer tree appears here in DRT.</pre> |
| 53 </body> | 53 </body> |
| 54 </html> | 54 </html> |
| OLD | NEW |