mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Implement the target attribute for HTMLAreaElement
This commit is contained in:
parent
71ba247942
commit
90b5d0d338
3 changed files with 8 additions and 14 deletions
|
@ -299,6 +299,12 @@ impl VirtualMethods for HTMLAreaElement {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl HTMLAreaElementMethods for HTMLAreaElement {
|
impl HTMLAreaElementMethods for HTMLAreaElement {
|
||||||
|
// https://html.spec.whatwg.org/multipage/#attr-hyperlink-target
|
||||||
|
make_getter!(Target, "target");
|
||||||
|
|
||||||
|
// https://html.spec.whatwg.org/multipage/#attr-hyperlink-target
|
||||||
|
make_setter!(SetTarget, "target");
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#dom-area-rellist
|
// https://html.spec.whatwg.org/multipage/#dom-area-rellist
|
||||||
fn RelList(&self) -> DomRoot<DOMTokenList> {
|
fn RelList(&self) -> DomRoot<DOMTokenList> {
|
||||||
self.rel_list
|
self.rel_list
|
||||||
|
|
|
@ -11,8 +11,8 @@ interface HTMLAreaElement : HTMLElement {
|
||||||
// attribute DOMString coords;
|
// attribute DOMString coords;
|
||||||
// [CEReactions]
|
// [CEReactions]
|
||||||
// attribute DOMString shape;
|
// attribute DOMString shape;
|
||||||
// [CEReactions]
|
[CEReactions]
|
||||||
// attribute DOMString target;
|
attribute DOMString target;
|
||||||
// [CEReactions]
|
// [CEReactions]
|
||||||
// attribute DOMString download;
|
// attribute DOMString download;
|
||||||
// [CEReactions]
|
// [CEReactions]
|
||||||
|
|
|
@ -1898,9 +1898,6 @@
|
||||||
[HTMLAreaElement interface: attribute shape]
|
[HTMLAreaElement interface: attribute shape]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLAreaElement interface: attribute target]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLAreaElement interface: attribute download]
|
[HTMLAreaElement interface: attribute download]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -1964,9 +1961,6 @@
|
||||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "shape" with the proper type]
|
[HTMLAreaElement interface: document.createElement("area") must inherit property "shape" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "target" with the proper type]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "download" with the proper type]
|
[HTMLAreaElement interface: document.createElement("area") must inherit property "download" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -6912,9 +6906,6 @@
|
||||||
[HTMLAreaElement interface: attribute shape]
|
[HTMLAreaElement interface: attribute shape]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLAreaElement interface: attribute target]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLAreaElement interface: attribute download]
|
[HTMLAreaElement interface: attribute download]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -6978,9 +6969,6 @@
|
||||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "shape" with the proper type]
|
[HTMLAreaElement interface: document.createElement("area") must inherit property "shape" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "target" with the proper type]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "download" with the proper type]
|
[HTMLAreaElement interface: document.createElement("area") must inherit property "download" with the proper type]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue