mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Auto merge of #7841 - frewsxcv:htmlbodyelement-text, r=nox
Implement <body>'s "text" attribute <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7841) <!-- Reviewable:end -->
This commit is contained in:
commit
1029feb55d
10 changed files with 63 additions and 145 deletions
|
@ -2199,9 +2199,6 @@
|
|||
[HTMLBodyElement interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLBodyElement interface: attribute text]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLBodyElement interface: attribute link]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2250,9 +2247,6 @@
|
|||
[HTMLBodyElement interface: attribute onstorage]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLBodyElement interface: document.createElement("body") must inherit property "text" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLBodyElement interface: document.createElement("body") must inherit property "link" with the proper type (1)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -459,135 +459,6 @@
|
|||
[body.tabIndex: IDL set to -2147483648 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to "" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: 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
|
||||
|
||||
[body.text: setAttribute() to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to "\\0" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: setAttribute() to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to "" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: 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
|
||||
|
||||
[body.text: IDL set to undefined followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to undefined followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to 7 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to 7 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to 1.5 followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to 1.5 followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to true followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to true followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to false followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to false followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to object "[object Object\]" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to object "[object Object\]" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to NaN followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to NaN followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to -Infinity followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to -Infinity followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to "\\0" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to null followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to null followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to object "test-toString" followed by getAttribute()]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to object "test-toString" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.text: IDL set to object "test-valueOf" followed by IDL get]
|
||||
expected: FAIL
|
||||
|
||||
[body.link: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -12,3 +12,6 @@
|
|||
[document: fg/bg/link/vlink/alink-color 5]
|
||||
expected: FAIL
|
||||
|
||||
[document: fg/bg/link/vlink/alink-color]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -12,3 +12,6 @@
|
|||
[document: fg/bg/link/vlink/alink-color 5]
|
||||
expected: FAIL
|
||||
|
||||
[document: fg/bg/link/vlink/alink-color]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -12,3 +12,6 @@
|
|||
[document: fg/bg/link/vlink/alink-color 5]
|
||||
expected: FAIL
|
||||
|
||||
[document: fg/bg/link/vlink/alink-color]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[body_text_00ffff.xhtml]
|
||||
type: reftest
|
||||
reftype: ==
|
||||
refurl: /html/rendering/non-replaced-elements/the-page/body_text_00ffff-ref.html
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue