Skip to content

Conversation

@ianobermiller
Copy link
Contributor

marginHeight and marginWidth are used on iframes to set the default body margin inside the iframe.

marginHeight and marginWidth are used on iframes to set the default body margin inside the iframe.
@syranide
Copy link
Contributor

I wonder if these haven't been superseded by any other property/style? They seem quite exotic (and not present in HTML5) so I can't really find any good informaton. Anyway... it seems they're available as properties even in IE8 and probably shouldn't have MUST_USE_ATTRIBUTE.

@zpao
Copy link
Member

zpao commented Dec 4, 2014

I was trying to find some styles that would supercede them but couldn't. We also already have frameBorder so meh. I'm losing my will to say no to things that aren't (supposedly) supported in HTML5 and we'll support arbitrary properties at some point anyway.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If updating these works as properties, let's just do that.

@zpao
Copy link
Member

zpao commented Dec 5, 2014

👍

zpao added a commit that referenced this pull request Dec 5, 2014
Support marginHeight and marginWidth attributes
@zpaozpao merged commit 5c1589b into facebook:masterDec 5, 2014
zpao added a commit to zpao/react that referenced this pull request Dec 18, 2014
Support marginHeight and marginWidth attributes
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 9d7467e on ianobermiller:margin-attrs into * on facebook:master*.

@aweary
Copy link
Contributor

thanks for the update @coveralls

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ianobermiller@syranide@zpao@coveralls@aweary