| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <script> | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| </script> | |
| <style type="text/css"> | |
| .pass {display: block} | |
| .fail {display: none} | |
| <!-- | |
| .pass {display: none} | |
| .fail {display: block} | |
| --> | |
| </style> | |
| </head> | |
| <body> | |
| <p>This page tests that style written inside an HTML comment is not applied. See: | |
| http://test.w3.org/html/tests/approved/xhtml5/html_style_in_comment.xhtml | |
| </p> | |
| <span class="pass">PASS</span> | |
| <span class="fail">FAIL</span> | |
| </body> | |
| </html> |