| OLD | NEW |
| 1 Test setting valid and invalid properties of HTMLMeterElement. | 1 Test setting valid and invalid properties of HTMLMeterElement. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 Test values before properties were set | 6 Test values before properties were set |
| 7 PASS m.min is 0 | 7 PASS m.min is 0 |
| 8 PASS m.value is 0 | 8 PASS m.value is 0 |
| 9 PASS m.max is 1 | 9 PASS m.max is 1 |
| 10 PASS m.low is 0 | 10 PASS m.low is 0 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 PASS m.high is 100.0 | 37 PASS m.high is 100.0 |
| 38 PASS m.optimum is 100.0 | 38 PASS m.optimum is 100.0 |
| 39 Set attributes to improper values - 4 | 39 Set attributes to improper values - 4 |
| 40 PASS m.min is 0.0 | 40 PASS m.min is 0.0 |
| 41 PASS m.value is 200.0 | 41 PASS m.value is 200.0 |
| 42 PASS m.max is 200.0 | 42 PASS m.max is 200.0 |
| 43 PASS m.low is 0.0 | 43 PASS m.low is 0.0 |
| 44 PASS m.high is 200.0 | 44 PASS m.high is 200.0 |
| 45 PASS m.optimum is 12.5 | 45 PASS m.optimum is 12.5 |
| 46 Set value to invalid value | 46 Set value to invalid value |
| 47 PASS m.value = "value"; threw exception NotSupportedError: Failed to set the 'va
lue' property on 'HTMLMeterElement': The value provided is not a number.. | 47 PASS m.value = "value"; threw exception TypeError: Failed to set the 'value' pro
perty on 'HTMLMeterElement': The value provided is not a number.. |
| 48 Set min to NaN | 48 Set min to NaN |
| 49 PASS m.min = NaN; threw exception NotSupportedError: Failed to set the 'min' pro
perty on 'HTMLMeterElement': The value provided is not a number.. | 49 PASS m.min = NaN; threw exception TypeError: Failed to set the 'min' property on
'HTMLMeterElement': The value provided is not a number.. |
| 50 Set max to Infinity | 50 Set max to Infinity |
| 51 PASS m.max = Infinity; threw exception NotSupportedError: Failed to set the 'max
' property on 'HTMLMeterElement': The value provided is infinite.. | 51 PASS m.max = Infinity; threw exception TypeError: Failed to set the 'max' proper
ty on 'HTMLMeterElement': The value provided is infinite.. |
| 52 Set low to invalid value | 52 Set low to invalid value |
| 53 PASS m.low = "low"; threw exception NotSupportedError: Failed to set the 'low' p
roperty on 'HTMLMeterElement': The value provided is not a number.. | 53 PASS m.low = "low"; threw exception TypeError: Failed to set the 'low' property
on 'HTMLMeterElement': The value provided is not a number.. |
| 54 Set high to NaN | 54 Set high to NaN |
| 55 PASS m.high = NaN; threw exception NotSupportedError: Failed to set the 'high' p
roperty on 'HTMLMeterElement': The value provided is not a number.. | 55 PASS m.high = NaN; threw exception TypeError: Failed to set the 'high' property
on 'HTMLMeterElement': The value provided is not a number.. |
| 56 Set optimum to Infinity | 56 Set optimum to Infinity |
| 57 PASS m.optimum = Infinity; threw exception NotSupportedError: Failed to set the
'optimum' property on 'HTMLMeterElement': The value provided is infinite.. | 57 PASS m.optimum = Infinity; threw exception TypeError: Failed to set the 'optimum
' property on 'HTMLMeterElement': The value provided is infinite.. |
| 58 Set attributes to valid numbers | 58 Set attributes to valid numbers |
| 59 PASS m.value is 5 | 59 PASS m.value is 5 |
| 60 PASS m.max is 10 | 60 PASS m.max is 10 |
| 61 PASS parseInt(m.getAttribute('value')) is 5 | 61 PASS parseInt(m.getAttribute('value')) is 5 |
| 62 PASS parseInt(m.getAttribute('max')) is 10 | 62 PASS parseInt(m.getAttribute('max')) is 10 |
| 63 Set attributes to invalid values | 63 Set attributes to invalid values |
| 64 PASS m.value is 0 | 64 PASS m.value is 0 |
| 65 PASS m.max is 1 | 65 PASS m.max is 1 |
| 66 PASS m.getAttribute('value') is 'ABC' | 66 PASS m.getAttribute('value') is 'ABC' |
| 67 PASS m.getAttribute('max') is '#' | 67 PASS m.getAttribute('max') is '#' |
| 68 Set attributes to numbers with leading spaces | 68 Set attributes to numbers with leading spaces |
| 69 PASS m.value is 0 | 69 PASS m.value is 0 |
| 70 PASS m.min is 0 | 70 PASS m.min is 0 |
| 71 PASS m.max is 1 | 71 PASS m.max is 1 |
| 72 PASS m.low is 0 | 72 PASS m.low is 0 |
| 73 PASS m.high is 1 | 73 PASS m.high is 1 |
| 74 PASS m.optimum is 0.5 | 74 PASS m.optimum is 0.5 |
| 75 PASS successfullyParsed is true | 75 PASS successfullyParsed is true |
| 76 | 76 |
| 77 TEST COMPLETE | 77 TEST COMPLETE |
| 78 | 78 |
| OLD | NEW |