mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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 {
|
||||
// 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
|
||||
fn RelList(&self) -> DomRoot<DOMTokenList> {
|
||||
self.rel_list
|
||||
|
|
|
@ -11,8 +11,8 @@ interface HTMLAreaElement : HTMLElement {
|
|||
// attribute DOMString coords;
|
||||
// [CEReactions]
|
||||
// attribute DOMString shape;
|
||||
// [CEReactions]
|
||||
// attribute DOMString target;
|
||||
[CEReactions]
|
||||
attribute DOMString target;
|
||||
// [CEReactions]
|
||||
// attribute DOMString download;
|
||||
// [CEReactions]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue