OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 PASS Default values | |
3 PASS Setting values to min, max, low, high and optimum | |
4 FAIL Invalid floating-point number values Failed to set the 'value' property on
'HTMLMeterElement': The provided double value is non-finite. | |
5 PASS max < min | |
6 PASS value < min | |
7 PASS value > max | |
8 PASS low < min | |
9 PASS low > max | |
10 PASS high < low | |
11 PASS high > max | |
12 PASS optimum < min | |
13 PASS optimum > max | |
14 PASS value must be 0 when a string is given | |
15 PASS default value of min is 0 | |
16 PASS If min is not specified and value is smaller than the default value of min
(i.e. 0), the actual value must be 0 | |
17 PASS default value of max is 1.0 | |
18 PASS If max is not specified and value is larger than the default value of max (
i.e. 1.0), the actual value must be 1.0 | |
19 PASS If a value smaller than 1.0 is given to min and max is not specified, max m
ust be the same value as its default value (i.e. 1.0) | |
20 PASS If a value smaller than 1.0 is given to min, max is not specified, and valu
e is larger than the default value of max (i.e. 1.0), the actual value must be 1
.0 | |
21 PASS If a value larger than or equal to 1.0 is given to min and max is not speci
fied, max must be the same value as min | |
22 PASS If a value larger than or equal to 1.0 is given to min and max is not speci
fied, the actual value must be the same value as min | |
23 PASS If a value smaller than 0 is given to max and min is not specified, min mus
t be be the same value as its default value (i.e. 0) | |
24 PASS If a value smaller than 0 is given to max and min is not specified, max mus
t be be the same value as the default value of min (i.e. 0) | |
25 PASS If a value smaller than 0 is given to max and min is not specified, the act
ual value must be be the same value as the default value of min (i.e. 0) | |
26 PASS If a value larger than or equal to 0 is given to max and min is not specifi
ed, max must be the same value as the default value of min (i.e. 0) | |
27 PASS If a value larger than or equal to 0 is given to max and min is not specifi
ed, min must be the same value as its default value (i.e. 0) | |
28 PASS If a value larger than or equal to 0 is given to max and min is not specifi
ed, the actual value must be the same value as the default value of min (i.e. 0)
| |
29 PASS min must be 0 when a string is given | |
30 PASS If a string is given to min and value is smaller than the default value of
min (i.e. 0), the actual value must be 0 | |
31 PASS max must be 1.0 when a string is given | |
32 PASS If a string is given to max and value is larger than the default value of m
in (i.e. 1.0), the actual value must be 1.0 | |
33 PASS giving a string to low must not affect the actual value | |
34 PASS high must equal max when a string is given to high | |
35 PASS giving a string to high must not affect the actual value | |
36 PASS value must not be smaller than min | |
37 PASS value must not be larger than max | |
38 PASS default low and high values equal min and max, respectively | |
39 PASS default low and high values equal 0 and 1.0 respectively, if both low and h
igh are not specified | |
40 PASS low must not be smaller than min | |
41 PASS low must not be larger than max | |
42 PASS high must not be smaller than min | |
43 PASS high must not be larger than max | |
44 PASS If min is not specified, low must not be smaller than default value of min
(i.e. 0) | |
45 PASS If a value smaller than low is given to high, it must be set to the same va
lue as low | |
46 PASS If max is not specified, high must not be larger than default value of max
(i.e. 1.0) | |
47 PASS optimum smaller than min | |
48 PASS optimum (smaller than min) must not affect min and the actual value | |
49 PASS optimum smaller than max | |
50 PASS optimum (larger than max) must not affect max and the actual value | |
51 PASS default optimum value is the midpoint between min and max | |
52 Harness: the test ran to completion. | |
53 | |
OLD | NEW |