Skip to content
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

support standard "cssFloat" css property #6133

Merged
merged 1 commit into from
Feb 28, 2016
Merged

support standard "cssFloat" css property #6133

merged 1 commit into from
Feb 28, 2016

Conversation

stevenvachon
Copy link
Contributor

For tools that compile CSS may have already converted the name.

More info:
https://npmjs.com/camelcase-css
https://npmjs.com/postcss-js

For tools that compile CSS may have already converted the name.

More info:
https://npmjs.com/camelcase-css
https://npmjs.com/postcss-js
@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@@ -185,7 +185,7 @@ var CSSPropertyOperations = {
styles[styleName],
component
);
if (styleName === 'float') {
if (styleName === 'float' || styleName === 'cssFloat') {
styleName = styleFloatAccessor;
}
Copy link
Member

Choose a reason for hiding this comment

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

We only need to set styleName to cssFloat if it isn't already cssFloat, so this doesn't actually do anything. i appreciate the thought though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It sets it to styleFloat in IE8.

@zpao zpao closed this Feb 27, 2016
@zpao
Copy link
Member

zpao commented Feb 27, 2016

Ah true, that's what I get for trying to review from my phone 😬

@zpao zpao reopened this Feb 27, 2016
@stevenvachon
Copy link
Contributor Author

:) np

zpao added a commit that referenced this pull request Feb 28, 2016
support standard "cssFloat" css property
@zpao zpao merged commit adc9104 into facebook:master Feb 28, 2016
@zpao
Copy link
Member

zpao commented Feb 28, 2016

Thanks!

Sign up for free to 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.

3 participants