2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / dom / css-set-property-exception-expected.txt
bloba0671f1b846e3275eaedb9f1122676fb148e4122
1 Test for bug 7296.
3 This test checks to see whether you get exceptions when setting a property with a "bad value". Setting using JavaScript property syntax and with setProperty() should behave the same.
5 It is OK if the order of properties changes from the expected results - IE 6 and Firefox 2 don't agree on it anyway.
7 This is the test element.
9 Successfully set display to "block"; cssText is now: "top: 0px; bottom: 1px; display: block; ".
10 Successfully set display to "foobar"; cssText is now: "top: 0px; display: none; bottom: 1px; ".
11 Successfully set display to ""; cssText is now: "top: 0px; bottom: 1px; ".
12 Successfully set display to null; cssText is now: "top: 0px; bottom: 1px; ".
13 Successfully set display to "block" with setProperty; cssText is now: "top: 0px; bottom: 1px; display: block; ".
14 Successfully set display to "foobar" with setProperty; cssText is now: "top: 0px; display: none; bottom: 1px; ".
15 Successfully set display to "" with setProperty; cssText is now: "top: 0px; bottom: 1px; ".
16 Successfully set display to null with setProperty; cssText is now: "top: 0px; bottom: 1px; ".