| OLD | NEW |
| 1 <!DOCTYPE> | 1 <!DOCTYPE> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Empty Render Surface</title> | 4 <title>Empty Render Surface</title> |
| 5 <style type="text/css" media="screen"> | 5 <style type="text/css" media="screen"> |
| 6 .container { | 6 .container { |
| 7 position: relative; | 7 position: relative; |
| 8 height: 0x; | 8 height: 0x; |
| 9 width: 0px; | 9 width: 0px; |
| 10 opacity:0.5; | 10 opacity:0.5; |
| 11 } | 11 } |
| 12 | 12 |
| 13 .child { | 13 .child { |
| 14 -webkit-transform: translateZ(0); | 14 transform: translateZ(0); |
| 15 height: 0px; | 15 height: 0px; |
| 16 width: 0px; | 16 width: 0px; |
| 17 background-color: red; | 17 background-color: red; |
| 18 } | 18 } |
| 19 </style> | 19 </style> |
| 20 <script type="text/javascript" charset="utf-8"> | 20 <script type="text/javascript" charset="utf-8"> |
| 21 if (window.testRunner) | 21 if (window.testRunner) |
| 22 testRunner.dumpAsText(); | 22 testRunner.dumpAsText(); |
| 23 </script> | 23 </script> |
| 24 | 24 |
| 25 </head> | 25 </head> |
| 26 <body> | 26 <body> |
| 27 <p>This page tests that an empty render surface does not crash as reported in <a
href='https://bugs.webkit.org/show_bug.cgi?id=51432'>this bug</a>. Pass if this
does not crash.</p> | 27 <p>This page tests that an empty render surface does not crash as reported in <a
href='https://bugs.webkit.org/show_bug.cgi?id=51432'>this bug</a>. Pass if this
does not crash.</p> |
| 28 | 28 |
| 29 <div class="container"> | 29 <div class="container"> |
| 30 <div class="child"> </div> | 30 <div class="child"> </div> |
| 31 </div> | 31 </div> |
| 32 | 32 |
| 33 </body> | 33 </body> |
| 34 </html> | 34 </html> |
| OLD | NEW |