mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +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
|
@ -339,12 +339,14 @@ impl HTMLIFrameElementMethods for HTMLIFrameElement {
|
|||
Err(NotSupported)
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-dim-width
|
||||
make_getter!(Width);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-dim-width
|
||||
make_setter!(SetWidth, "width");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-dim-height
|
||||
make_getter!(Height);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-dim-height
|
||||
make_setter!(SetHeight, "height");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue