html/semantics/forms/the-meter-element/
62 / 62 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 2
- Blocking files
- 0
Chrome 62 / 62 WPT subtests passing on the same files, none blocking
Tests
2 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
meter-leading-plus-sign.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- value with leading '+' should parse as 5
- max with leading '+' should parse as 10
- min with leading '+' should parse as 1
- low with leading '+' should parse as 2
- high with leading '+' should parse as 8
- optimum with leading '+' should parse as 6
- value '+3.14' should parse as 3.14
- setAttribute with leading '+' should parse correctly
- bare '+' for max should use default value 1
- bare '-' for max should use default value 1
- bare '.' for max should use default value 1
- '+-5' for max should use default value 1
meter.html 50 / 50 passingChrome 50 / 500 failedClean
50 passing subtests
- Default values
- Setting values to min, max, low, high and optimum
- max < min
- value < min
- value > max
- low < min
- low > max
- high < low
- high > max
- optimum < min
- optimum > max
- Invalid floating-point number values
- value must be 0 when a string is given
- default value of min is 0
- If min is not specified and value is smaller than the default value of min (i.e. 0), the actual value must be 0
- default value of max is 1.0
- 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
- If a value smaller than 1.0 is given to min and max is not specified, max must be the same value as its default value (i.e. 1.0)
- If a value smaller than 1.0 is given to min, 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
- If a value larger than or equal to 1.0 is given to min and max is not specified, max must be the same value as min
- If a value larger than or equal to 1.0 is given to min and max is not specified, the actual value must be the same value as min
- If a value smaller than 0 is given to max and min is not specified, min must be be the same value as its default value (i.e. 0)
- If a value smaller than 0 is given to max and min is not specified, max must be be the same value as the default value of min (i.e. 0)
- If a value smaller than 0 is given to max and min is not specified, the actual value must be be the same value as the default value of min (i.e. 0)
- If a value larger than or equal to 0 is given to max and min is not specified, max must be the same value as the default value of min (i.e. 0)
- If a value larger than or equal to 0 is given to max and min is not specified, min must be the same value as its default value (i.e. 0)
- If a value larger than or equal to 0 is given to max and min is not specified, the actual value must be the same value as the default value of min (i.e. 0)
- min must be 0 when a string is given
- 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
- max must be 1.0 when a string is given
- If a string is given to max and value is larger than the default value of min (i.e. 1.0), the actual value must be 1.0
- giving a string to low must not affect the actual value
- high must equal max when a string is given to high
- giving a string to high must not affect the actual value
- value must not be smaller than min
- value must not be larger than max
- default low and high values equal min and max, respectively
- default low and high values equal 0 and 1.0 respectively, if both low and high are not specified
- low must not be smaller than min
- low must not be larger than max
- high must not be smaller than min
- high must not be larger than max
- If min is not specified, low must not be smaller than default value of min (i.e. 0)
- If a value smaller than low is given to high, it must be set to the same value as low
- If max is not specified, high must not be larger than default value of max (i.e. 1.0)
- optimum smaller than min
- optimum (smaller than min) must not affect min and the actual value
- optimum smaller than max
- optimum (larger than max) must not affect max and the actual value
- default optimum value is the midpoint between min and max