aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmliframeelement.rs
diff options
context:
space:
mode:
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");
}