mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Enforce linking to spec for method implementations via macros
This commit is contained in:
parent
7474b29510
commit
3a1d140ab5
23 changed files with 137 additions and 11 deletions
|
@ -130,16 +130,22 @@ impl HTMLElementMethods for HTMLElement {
|
|||
})
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-title
|
||||
make_getter!(Title);
|
||||
// https://html.spec.whatwg.org/multipage/#attr-title
|
||||
make_setter!(SetTitle, "title");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-lang
|
||||
make_getter!(Lang);
|
||||
// https://html.spec.whatwg.org/multipage/#attr-lang
|
||||
make_setter!(SetLang, "lang");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-hidden
|
||||
make_bool_getter!(Hidden);
|
||||
// https://html.spec.whatwg.org/multipage/#dom-hidden
|
||||
make_bool_setter!(SetHidden, "hidden");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#globaleventhandlers
|
||||
global_event_handlers!(NoOnload);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-dataset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue