| <script> |
| function test() |
| { |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| var style = window.getComputedStyle(document.body); |
| log(style['word-break']) |
| log(style['-webkit-user-modify']) |
| } |
| |
| function log(msg) |
| { |
| document.getElementById("log").appendChild(document.createTextNode(msg + "\n")); |
| } |
| </script> |
| <style> |
| body { |
| word-break: solid; |
| -webkit-user-modify: solid; |
| } |
| </style> |
| <body onload="test()"> |
| <p>This page tests that invalid values for the <tt>word-break</tt> and <tt>-webkit-user-modify</tt> properties are rejected by the CSS parser.</p> |
| <pre id="log"></pre> |
| </body> |