| 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 </style> | 16 </style> |
| 17 <script type="text/javascript" charset="utf-8"> | 17 <script type="text/javascript" charset="utf-8"> |
| 18 function doTest() | 18 function doTest() |
| 19 { | 19 { |
| 20 document.getElementById('iframe').className = 'dummy'; | 20 document.getElementById('iframe').className = 'dummy'; |
| 21 } | 21 } |
| 22 | 22 |
| 23 window.addEventListener('load', doTest, false); | 23 window.addEventListener('load', doTest, false); |
| 24 </script> | 24 </script> |
| 25 </head> | 25 </head> |
| 26 <body> | 26 <body> |
| 27 | 27 |
| 28 <iframe id="iframe" src="resources/composited-subframe.html"></iframe> | 28 <iframe id="iframe" src="resources/composited-subframe.html"></iframe> |
| 29 | 29 |
| 30 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=42046">https://bugs.webk
it.org/show_bug.cgi?id=42046</a><br> | 30 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=42046">https://bugs.webk
it.org/show_bug.cgi?id=42046</a><br> |
| 31 You should see a blue rectangle inside the iframe when the page loads.</p> | 31 You should see a blue rectangle inside the iframe when the page loads.</p> |
| 32 </body> | 32 </body> |
| 33 </html> | 33 </html> |
| OLD | NEW |