mirror of
https://github.com/servo/servo.git
synced 2025-08-22 22:05:32 +01:00
script: implement HTMLHyperlinkElementUtils for HTMLAreaElement (#35482)
This makes some common functionality in HTMLAreaElement and HTMLAnchorElement shared code. Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
6d6070242b
commit
5ab3641a8e
16 changed files with 701 additions and 1924 deletions
|
@ -6685,42 +6685,6 @@
|
|||
[HTMLAreaElement interface: attribute noHref]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute href]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: stringifier]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute origin]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute protocol]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute username]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute password]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute host]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute hostname]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute port]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute pathname]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute search]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute hash]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "alt" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6739,39 +6703,6 @@
|
|||
[HTMLAreaElement interface: document.createElement("area") must inherit property "noHref" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "href" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "origin" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "protocol" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "username" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "password" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "host" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "hostname" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "port" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "pathname" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "search" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "hash" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLTableElement interface: attribute align]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[dynamic-urls.sub.html]
|
||||
[The 'href' attribute of the 'area' element]
|
||||
expected: FAIL
|
||||
|
||||
[The 'cite' attribute of the 'ins' element]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[historical.sub.xhtml]
|
||||
[The 'href' attribute of the 'area' element]
|
||||
expected: FAIL
|
||||
|
||||
[The 'cite' attribute of the 'ins' element]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
[area-stringifier.html]
|
||||
[HTMLAreaElement stringifier 1]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement stringifier 2]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement stringifier 4]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement stringifier 5]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement stringifier 6]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement stringifier 7]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement stringifier 9]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement stringifier 10]
|
||||
expected: FAIL
|
|
@ -1,57 +0,0 @@
|
|||
[non-parsable-url-getter-setter.window.html]
|
||||
[<area href="http://test:test/">.origin getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.protocol getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.protocol setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.username getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.username setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.password getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.password setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.host getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.host setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.hostname getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.hostname setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.port getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.port setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.pathname getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.pathname setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.search getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.search setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.hash getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="http://test:test/">.hash setter]
|
||||
expected: FAIL
|
|
@ -1,57 +0,0 @@
|
|||
[non-special-opaque-path-url-getter-setter.window.html]
|
||||
[<area href="non-special:opaque">.origin getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.protocol getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.protocol setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.username getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.username setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.password getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.password setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.host getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.host setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.hostname getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.hostname setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.port getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.port setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.pathname getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.pathname setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.search getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.search setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.hash getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special:opaque">.hash setter]
|
||||
expected: FAIL
|
|
@ -1,45 +0,0 @@
|
|||
[non-special-url-getter-setter.window.html]
|
||||
[<area href="non-special://test:9001/">.origin getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.protocol getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.protocol setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.username getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.password getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.host getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.host setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.hostname getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.port getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.pathname getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.pathname setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.search getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.search setter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.hash getter]
|
||||
expected: FAIL
|
||||
|
||||
[<area href="non-special://test:9001/">.hash setter]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue