mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement basic framework for static and interactive validation on forms
This commit is contained in:
parent
85b43ea317
commit
3395e54585
7 changed files with 227 additions and 249 deletions
|
@ -4845,9 +4845,6 @@
|
|||
[HTMLInputElement interface: attribute files]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: attribute formNoValidate]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: attribute height]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -4965,9 +4962,6 @@
|
|||
[HTMLInputElement interface: document.createElement("input") must inherit property "files" with the proper type (9)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: document.createElement("input") must inherit property "formNoValidate" with the proper type (13)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLInputElement interface: document.createElement("input") must inherit property "height" with the proper type (15)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5091,9 +5085,6 @@
|
|||
[HTMLButtonElement interface: attribute autofocus]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: attribute formNoValidate]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: attribute menu]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5115,9 +5106,6 @@
|
|||
[HTMLButtonElement interface: document.createElement("button") must inherit property "autofocus" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: document.createElement("button") must inherit property "formNoValidate" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLButtonElement interface: document.createElement("button") must inherit property "menu" with the proper type (11)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -4146,114 +4146,6 @@
|
|||
[input.formMethod: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: setAttribute() to "formNoValidate" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to "" followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to undefined followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to null followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to false followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to NaN followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.formNoValidate: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[input.inputMode: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6849,114 +6741,6 @@
|
|||
[button.formMethod: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: setAttribute() to "formNoValidate" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to "" followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to undefined followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to null followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to false followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to NaN followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.formNoValidate: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[button.itemScope: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue