mirror of
https://github.com/servo/servo.git
synced 2025-08-30 09:38:19 +01:00
Implement HTMLSelectElement.{multiple, name, size} (fixes #6017)
This commit is contained in:
parent
10d8200a54
commit
656a8ee3c8
4 changed files with 34 additions and 444 deletions
|
@ -5808,18 +5808,9 @@
|
|||
[HTMLSelectElement interface: attribute form]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: attribute multiple]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: attribute name]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: attribute required]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: attribute size]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: attribute options]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5877,18 +5868,9 @@
|
|||
[HTMLSelectElement interface: document.createElement("select") must inherit property "form" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: document.createElement("select") must inherit property "multiple" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: document.createElement("select") must inherit property "name" with the proper type (5)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: document.createElement("select") must inherit property "required" with the proper type (6)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: document.createElement("select") must inherit property "size" with the proper type (7)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLSelectElement interface: document.createElement("select") must inherit property "options" with the proper type (9)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -8118,243 +8118,6 @@
|
|||
[select.autofocus: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: setAttribute() to "multiple" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to "" followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to " foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to undefined followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to null followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to false followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to NaN followed by hasAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.multiple: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to "" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to undefined followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to 7 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to 1.5 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to true followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to false followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to NaN followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to -Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to "\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to null followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to object "test-toString" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.name: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.required: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8463,192 +8226,12 @@
|
|||
[select.required: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to -2147483649 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to -2147483648 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to -36 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to -1 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to 0 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to 1 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to 257 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to 2147483647 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to 2147483648 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to 4294967295 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to 4294967296 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "-1" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "-0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "1" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "\\t7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "\\v7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "\\f7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "\\n7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "\\r7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "
7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "
7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " 7" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo " followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to object "2" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to object "3" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: setAttribute() to object "3" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: IDL set to 0 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: IDL set to 1 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: IDL set to 257 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: IDL set to 2147483647 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: IDL set to "-0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[select.size: IDL set to "-0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[select.itemScope: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue