| 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: 20px; | 9 margin: 20px; |
| 10 height: 150px; | 10 height: 150px; |
| 11 width: 300px; | 11 width: 300px; |
| 12 -webkit-box-shadow: 0 0 20px black; | 12 -webkit-box-shadow: 0 0 20px black; |
| 13 -webkit-transform: translateZ(0); | 13 transform: translateZ(0); |
| 14 } | 14 } |
| 15 | 15 |
| 16 .overlay { | 16 .overlay { |
| 17 position: absolute; | 17 position: absolute; |
| 18 width: 50px; | 18 width: 50px; |
| 19 height: 50px; | 19 height: 50px; |
| 20 top: 5px; | 20 top: 5px; |
| 21 left: 5px; | 21 left: 5px; |
| 22 background-color: rgba(0, 0, 0, 0.2); | 22 background-color: rgba(0, 0, 0, 0.2); |
| 23 } | 23 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 35 window.addEventListener('load', doTest, false); | 35 window.addEventListener('load', doTest, false); |
| 36 </script> | 36 </script> |
| 37 </head> | 37 </head> |
| 38 <body> | 38 <body> |
| 39 | 39 |
| 40 <iframe src="resources/composited-subframe.html"></iframe> | 40 <iframe src="resources/composited-subframe.html"></iframe> |
| 41 <div class="overlay"></div> | 41 <div class="overlay"></div> |
| 42 <p>This test should not crash.</p> | 42 <p>This test should not crash.</p> |
| 43 </body> | 43 </body> |
| 44 </html> | 44 </html> |
| OLD | NEW |