script: Implement the frameBorder attribute on HTMLIFrameElement.

google.com uses this for the "set Google as your home page" popup.
This commit is contained in:
Patrick Walton 2016-10-25 18:42:45 -07:00
parent e888b76534
commit f83e1a34dc
4 changed files with 6 additions and 133 deletions

View file

@ -544,6 +544,11 @@ impl HTMLIFrameElementMethods for HTMLIFrameElement {
// https://html.spec.whatwg.org/multipage/#dom-dim-height
make_dimension_setter!(SetHeight, "height");
// https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:attr-iframe-frameborder
make_getter!(FrameBorder, "frameborder");
// https://html.spec.whatwg.org/multipage/#other-elements,-attributes-and-apis:attr-iframe-frameborder
make_setter!(SetFrameBorder, "frameborder");
// check-tidy: no specs after this line
fn SetMozprivatebrowsing(&self, value: bool) {
let element = self.upcast::<Element>();