5 testRunner
.dumpAsText();
7 var rules
= getMatchedCSSRules(document
.body
, "");
8 if (rules
&& rules
.length
) {
9 log("FAIL: Expected 0 matched rules, but found " + rules
.length
+ ":");
10 for (var i
= 0; i
< rules
.length
; ++i
)
11 log(rules
[i
].cssText
);
20 document
.getElementById("log").appendChild(document
.createTextNode(msg
+ "\n"));
26 -webkit-user-modify: solid;
29 <body onload=
"test()">
30 <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>