aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmliframeelement.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-08-31 19:19:08 -0400
committerCorey Farwell <coreyf@rwell.org>2015-08-31 21:02:23 -0400
commit3a1d140ab5c26415b8fa0764bd8aa688f0b23636 (patch)
tree2f93c677ae9288a511b54ce00462aea3c37f76a3 /components/script/dom/htmliframeelement.rs
parent7474b295104e75c013849e104704019dc4801c91 (diff)
downloadservo-3a1d140ab5c26415b8fa0764bd8aa688f0b23636.tar.gz
servo-3a1d140ab5c26415b8fa0764bd8aa688f0b23636.zip
Enforce linking to spec for method implementations via macros
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r--components/script/dom/htmliframeelement.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs
index 6abf4f7b877..e4665847468 100644
--- a/components/script/dom/htmliframeelement.rs
+++ b/components/script/dom/htmliframeelement.rs
@@ -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");
}