blob: a4bc420a62bd0f7a6d63674158a143d203f161ab [file] [log] [blame]
<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>