diff options
Diffstat (limited to 'components/script/dom/htmlanchorelement.rs')
-rw-r--r-- | components/script/dom/htmlanchorelement.rs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/components/script/dom/htmlanchorelement.rs b/components/script/dom/htmlanchorelement.rs index 67daf4e6df4..ebfd1c4deb0 100644 --- a/components/script/dom/htmlanchorelement.rs +++ b/components/script/dom/htmlanchorelement.rs @@ -98,6 +98,30 @@ impl HTMLAnchorElementMethods for HTMLAnchorElement { DOMTokenList::new(ElementCast::from_ref(self), &atom!("rel")) }) } + + // https://html.spec.whatwg.org/multipage/#dom-a-coords + make_getter!(Coords); + + // https://html.spec.whatwg.org/multipage/#dom-a-coords + make_setter!(SetCoords, "coords"); + + // https://html.spec.whatwg.org/multipage/#dom-a-name + make_getter!(Name); + + // https://html.spec.whatwg.org/multipage/#dom-a-name + make_setter!(SetName, "name"); + + // https://html.spec.whatwg.org/multipage/#dom-a-rev + make_getter!(Rev); + + // https://html.spec.whatwg.org/multipage/#dom-a-rev + make_setter!(SetRev, "rev"); + + // https://html.spec.whatwg.org/multipage/#dom-a-shape + make_getter!(Shape); + + // https://html.spec.whatwg.org/multipage/#dom-a-shape + make_setter!(SetShape, "shape"); } impl Activatable for HTMLAnchorElement { |