mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Make the dir
attribute's getter follow the spec (#30435)
* Refactor the `dir` attribute's getter and setter * Run `./mach fmt` * disregard all the previous commits i'm a genius!
This commit is contained in:
parent
80d9a2bb4f
commit
72313d90df
19 changed files with 5 additions and 36900 deletions
|
@ -1,178 +1,4 @@
|
|||
[reflection-forms-weekmonth.html]
|
||||
[input.dir: 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 "]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to undefined]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to 7]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "5%"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "+100"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to ".5"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to true]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to false]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to object "[object Object\]"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to -Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to null]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to object "test-toString"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to object "test-valueOf"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "xltr"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "ltr\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "tr"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "LTR"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "xrtl"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "rtl\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "tl"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "RTL"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "xauto"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "auto\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "uto"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: setAttribute() to "AUTO"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: 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 "]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to undefined]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to 7]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "5%"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "+100"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to ".5"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to true]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to false]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to object "[object Object\]"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to -Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to null]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to object "test-toString"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to object "test-valueOf"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "xltr"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "ltr\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "tr"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "LTR"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "xrtl"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "rtl\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "tl"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "RTL"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "xauto"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "auto\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "uto"]
|
||||
expected: FAIL
|
||||
|
||||
[input.dir: IDL set to "AUTO"]
|
||||
expected: FAIL
|
||||
|
||||
[input.autofocus: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue