OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 PASS CSSSimpleLengths are immutable | |
3 PASS Each unit type is returned according to the spec | |
4 PASS Adding CSSSimpleLengths with the same unit produces a new CSSSimpleLength w
ith the correct value. | |
5 PASS Adding CSSSimpleLengths with different units produces a calc length with th
e correct values. | |
6 PASS Subtracting CSSSimpleLengths with the same unit produces a new CSSSimpleLen
gth with the correct value. | |
7 PASS Subtracting CSSSimpleLengths with different units produces a calc length wi
th the correct values. | |
8 PASS Multiplying a CSSSimpleLength produces a new CSSSimpleLength with the corre
ct value. | |
9 PASS Dividing a CSSSimpleLength produces a new CSSSimpleLength with the correct
value. | |
10 PASS Dividing by zero throws a RangeError | |
11 PASS cssText is generated correctly for each unit type. | |
12 FAIL Invalid input throws an exception. Test bug: need to pass exception to asse
rt_throws() | |
13 Harness: the test ran to completion. | |
14 | |
OLD | NEW |