mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -238,6 +238,24 @@ impl HTMLLinkElementMethods for HTMLLinkElement {
|
|||
DOMTokenList::new(ElementCast::from_ref(self), &atom!("rel"))
|
||||
})
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-link-charset
|
||||
make_getter!(Charset);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-link-charset
|
||||
make_setter!(SetCharset, "charset");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-link-rev
|
||||
make_getter!(Rev);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-link-rev
|
||||
make_setter!(SetRev, "rev");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-link-target
|
||||
make_getter!(Target);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-link-target
|
||||
make_setter!(SetTarget, "target");
|
||||
}
|
||||
|
||||
pub struct StylesheetLoadDispatcher {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue