mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement attributes for the <meter>
element (#32230)
* Implement attributes for the meter element * Remove checks for min < max before clamping
This commit is contained in:
parent
c2325cd738
commit
2904c32e05
10 changed files with 139 additions and 743 deletions
|
@ -1,36 +0,0 @@
|
|||
[HTMLMeterElement.html]
|
||||
[value on HTMLMeterElement must enqueue an attributeChanged reaction when adding value content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[min on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[min on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[max on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[max on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[low on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[low on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[high on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[high on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[optimum on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[optimum on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
|
@ -2790,9 +2790,6 @@
|
|||
[HTMLTableSectionElement interface: document.createElement("tfoot") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "low" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("time") must inherit property "useMap" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2802,9 +2799,6 @@
|
|||
[HTMLInputElement interface: createInput("hidden") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute value]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTableSectionElement interface: document.createElement("thead") must inherit property "chOff" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3216,18 +3210,12 @@
|
|||
[HTMLIFrameElement interface: attribute align]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "max" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTableCellElement interface: document.createElement("th") must inherit property "noWrap" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "shape" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute low]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLEmbedElement interface: attribute height]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3318,12 +3306,6 @@
|
|||
[HTMLImageElement interface: document.createElement("img") must inherit property "sizes" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "optimum" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "value" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLEmbedElement interface: attribute align]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3489,9 +3471,6 @@
|
|||
[HTMLInputElement interface: createInput("color") must inherit property "useMap" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute optimum]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("password") must inherit property "useMap" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3642,9 +3621,6 @@
|
|||
[HTMLOListElement interface: attribute compact]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute high]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("reset") must inherit property "useMap" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3660,18 +3636,12 @@
|
|||
[HTMLAreaElement interface: attribute download]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute max]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("hidden") must inherit property "width" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("text") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "high" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLParagraphElement interface: document.createElement("p") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3840,9 +3810,6 @@
|
|||
[HTMLTableCellElement interface: document.createElement("th") must inherit property "scope" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "min" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: attribute as]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -4434,9 +4401,6 @@
|
|||
[HTMLObjectElement interface: document.createElement("object") must inherit property "data" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute min]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -20178,150 +20178,42 @@
|
|||
[textarea.inputMode: IDL set to "Kana-name"]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[optgroup.accessKey: setAttribute() to "5%"]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -20937,71 +20829,35 @@
|
|||
[meter.value: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,149 +0,0 @@
|
|||
[meter.html]
|
||||
type: testharness
|
||||
[Default values]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid floating-point number values]
|
||||
expected: FAIL
|
||||
|
||||
[max < min]
|
||||
expected: FAIL
|
||||
|
||||
[value < min]
|
||||
expected: FAIL
|
||||
|
||||
[value > max]
|
||||
expected: FAIL
|
||||
|
||||
[low < min]
|
||||
expected: FAIL
|
||||
|
||||
[low > max]
|
||||
expected: FAIL
|
||||
|
||||
[high < low]
|
||||
expected: FAIL
|
||||
|
||||
[high > max]
|
||||
expected: FAIL
|
||||
|
||||
[optimum < min]
|
||||
expected: FAIL
|
||||
|
||||
[optimum > max]
|
||||
expected: FAIL
|
||||
|
||||
[value must be 0 when a string is given]
|
||||
expected: FAIL
|
||||
|
||||
[default value of min is 0]
|
||||
expected: FAIL
|
||||
|
||||
[If min is not specified and value is smaller than the default value of min (i.e. 0), the actual value must be 0]
|
||||
expected: FAIL
|
||||
|
||||
[default value of max is 1.0]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[min must be 0 when a string is given]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[max must be 1.0 when a string is given]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[giving a string to low must not affect the actual value]
|
||||
expected: FAIL
|
||||
|
||||
[high must equal max when a string is given to high]
|
||||
expected: FAIL
|
||||
|
||||
[giving a string to high must not affect the actual value]
|
||||
expected: FAIL
|
||||
|
||||
[value must not be smaller than min]
|
||||
expected: FAIL
|
||||
|
||||
[value must not be larger than max]
|
||||
expected: FAIL
|
||||
|
||||
[default low and high values equal min and max, respectively]
|
||||
expected: FAIL
|
||||
|
||||
[default low and high values equal 0 and 1.0 respectively, if both low and high are not specified]
|
||||
expected: FAIL
|
||||
|
||||
[low must not be smaller than min]
|
||||
expected: FAIL
|
||||
|
||||
[low must not be larger than max]
|
||||
expected: FAIL
|
||||
|
||||
[high must not be smaller than min]
|
||||
expected: FAIL
|
||||
|
||||
[high must not be larger than max]
|
||||
expected: FAIL
|
||||
|
||||
[If min is not specified, low must not be smaller than default value of min (i.e. 0)]
|
||||
expected: FAIL
|
||||
|
||||
[If a value smaller than low is given to high, it must be set to the same value as low]
|
||||
expected: FAIL
|
||||
|
||||
[If max is not specified, high must not be larger than default value of max (i.e. 1.0)]
|
||||
expected: FAIL
|
||||
|
||||
[optimum smaller than min]
|
||||
expected: FAIL
|
||||
|
||||
[optimum (smaller than min) must not affect min and the actual value]
|
||||
expected: FAIL
|
||||
|
||||
[optimum smaller than max]
|
||||
expected: FAIL
|
||||
|
||||
[optimum (larger than max) must not affect max and the actual value]
|
||||
expected: FAIL
|
||||
|
||||
[default optimum value is the midpoint between min and max]
|
||||
expected: FAIL
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
[HTMLMeterElement.html]
|
||||
[value on HTMLMeterElement must enqueue an attributeChanged reaction when adding value content attribute]
|
||||
expected: FAIL
|
||||
|
||||
[value on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[min on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[min on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[max on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[max on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[low on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[low on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[high on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[high on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[optimum on HTMLMeterElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[optimum on HTMLMeterElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
|
@ -2640,9 +2640,6 @@
|
|||
[HTMLTableSectionElement interface: document.createElement("tfoot") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "low" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("hidden") must inherit property "width" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2826,9 +2823,6 @@
|
|||
[HTMLObjectElement interface: document.createElement("object") must inherit property "codeBase" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute value]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLFrameElement interface: attribute marginWidth]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3045,9 +3039,6 @@
|
|||
[HTMLIFrameElement interface: attribute align]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "max" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTableCellElement interface: document.createElement("th") must inherit property "noWrap" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3057,9 +3048,6 @@
|
|||
[HTMLMarqueeElement interface: document.createElement("marquee") must inherit property "trueSpeed" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute low]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLEmbedElement interface: attribute height]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3153,9 +3141,6 @@
|
|||
[HTMLImageElement interface: document.createElement("img") must inherit property "sizes" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "optimum" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLEmbedElement interface: attribute align]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3303,9 +3288,6 @@
|
|||
[HTMLInputElement interface: createInput("color") must inherit property "useMap" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute optimum]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("password") must inherit property "useMap" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3444,9 +3426,6 @@
|
|||
[HTMLOListElement interface: attribute compact]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute high]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLBRElement interface: attribute clear]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3459,9 +3438,6 @@
|
|||
[HTMLAreaElement interface: attribute download]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute max]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: createInput("text") must inherit property "align" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3651,9 +3627,6 @@
|
|||
[HTMLTableCellElement interface: document.createElement("th") must inherit property "scope" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "min" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLLinkElement interface: attribute as]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -4014,9 +3987,6 @@
|
|||
[HTMLStyleElement interface: document.createElement("style") must inherit property "type" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "high" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "alt" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -4224,9 +4194,6 @@
|
|||
[HTMLObjectElement interface: document.createElement("object") must inherit property "data" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: attribute min]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onsecuritypolicyviolation" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -4263,9 +4230,6 @@
|
|||
[HTMLInputElement interface: createInput("url") must inherit property "useMap" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMeterElement interface: document.createElement("meter") must inherit property "value" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTableColElement interface: attribute chOff]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3380,132 +3380,24 @@
|
|||
[meter.tabIndex: IDL set to -2147483648]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to -10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to -1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to -0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 0]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 1]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 10000000000]
|
||||
expected: FAIL
|
||||
|
||||
[form.tabIndex: setAttribute() to "7\\v"]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3686,71 +3578,35 @@
|
|||
[meter.value: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.value: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.min: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.max: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.low: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.high: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 1e-10]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 0.0001]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[meter.optimum: IDL set to 1e+25]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,149 +0,0 @@
|
|||
[meter.html]
|
||||
type: testharness
|
||||
[Default values]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid floating-point number values]
|
||||
expected: FAIL
|
||||
|
||||
[max < min]
|
||||
expected: FAIL
|
||||
|
||||
[value < min]
|
||||
expected: FAIL
|
||||
|
||||
[value > max]
|
||||
expected: FAIL
|
||||
|
||||
[low < min]
|
||||
expected: FAIL
|
||||
|
||||
[low > max]
|
||||
expected: FAIL
|
||||
|
||||
[high < low]
|
||||
expected: FAIL
|
||||
|
||||
[high > max]
|
||||
expected: FAIL
|
||||
|
||||
[optimum < min]
|
||||
expected: FAIL
|
||||
|
||||
[optimum > max]
|
||||
expected: FAIL
|
||||
|
||||
[value must be 0 when a string is given]
|
||||
expected: FAIL
|
||||
|
||||
[default value of min is 0]
|
||||
expected: FAIL
|
||||
|
||||
[If min is not specified and value is smaller than the default value of min (i.e. 0), the actual value must be 0]
|
||||
expected: FAIL
|
||||
|
||||
[default value of max is 1.0]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[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)]
|
||||
expected: FAIL
|
||||
|
||||
[min must be 0 when a string is given]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[max must be 1.0 when a string is given]
|
||||
expected: FAIL
|
||||
|
||||
[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]
|
||||
expected: FAIL
|
||||
|
||||
[giving a string to low must not affect the actual value]
|
||||
expected: FAIL
|
||||
|
||||
[high must equal max when a string is given to high]
|
||||
expected: FAIL
|
||||
|
||||
[giving a string to high must not affect the actual value]
|
||||
expected: FAIL
|
||||
|
||||
[value must not be smaller than min]
|
||||
expected: FAIL
|
||||
|
||||
[value must not be larger than max]
|
||||
expected: FAIL
|
||||
|
||||
[default low and high values equal min and max, respectively]
|
||||
expected: FAIL
|
||||
|
||||
[default low and high values equal 0 and 1.0 respectively, if both low and high are not specified]
|
||||
expected: FAIL
|
||||
|
||||
[low must not be smaller than min]
|
||||
expected: FAIL
|
||||
|
||||
[low must not be larger than max]
|
||||
expected: FAIL
|
||||
|
||||
[high must not be smaller than min]
|
||||
expected: FAIL
|
||||
|
||||
[high must not be larger than max]
|
||||
expected: FAIL
|
||||
|
||||
[If min is not specified, low must not be smaller than default value of min (i.e. 0)]
|
||||
expected: FAIL
|
||||
|
||||
[If a value smaller than low is given to high, it must be set to the same value as low]
|
||||
expected: FAIL
|
||||
|
||||
[If max is not specified, high must not be larger than default value of max (i.e. 1.0)]
|
||||
expected: FAIL
|
||||
|
||||
[optimum smaller than min]
|
||||
expected: FAIL
|
||||
|
||||
[optimum (smaller than min) must not affect min and the actual value]
|
||||
expected: FAIL
|
||||
|
||||
[optimum smaller than max]
|
||||
expected: FAIL
|
||||
|
||||
[optimum (larger than max) must not affect max and the actual value]
|
||||
expected: FAIL
|
||||
|
||||
[default optimum value is the midpoint between min and max]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue