mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add obsolete reflecting attributes on <a> and <link>
From my understanding, setting any of these will not affect any presentational hints for the elements
This commit is contained in:
parent
b05f4aa3aa
commit
fdebd2ae2a
7 changed files with 49 additions and 952 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue