| <!DOCTYPE html> | |
| <head> | |
| <style> | |
| p { background-color: green; width: 100px; height: 100px; } | |
| p:empty { display: none; } | |
| </style> | |
| <script> | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| window.onload = function() { | |
| document.getElementById('id').appendChild(document.createTextNode('TEST PASSED')); | |
| }; | |
| </script> | |
| </head> | |
| <body> | |
| <p id="id"></p> | |
| </body> |