-
Notifications
You must be signed in to change notification settings - Fork 48.6k
Support marginHeight and marginWidth attributes #2658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
marginHeight and marginWidth are used on iframes to set the default body margin inside the iframe.
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 |
I was trying to find some styles that would supercede them but couldn't. We also already have |
@@ -104,6 +104,8 @@ var HTMLDOMPropertyConfig = { | |||
list: MUST_USE_ATTRIBUTE, | |||
loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, | |||
manifest: MUST_USE_ATTRIBUTE, | |||
marginHeight: MUST_USE_ATTRIBUTE, | |||
marginWidth: MUST_USE_ATTRIBUTE, |
There was a problem hiding this comment.
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.
👍 |
Support marginHeight and marginWidth attributes
Support marginHeight and marginWidth attributes
Changes Unknown when pulling 9d7467e on ianobermiller:margin-attrs into * on facebook:master*. |
thanks for the update @coveralls |
marginHeight and marginWidth are used on iframes to set the default body margin inside the iframe.