-
Notifications
You must be signed in to change notification settings - Fork 46.8k
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
Remove css px warning, stop appending px to strings #6899
Conversation
expect(CSSPropertyOperations.createMarkupForStyles({ | ||
margin: '16 ', | ||
left: '16 ', |
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.
Why change the property names?
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.
Eeh, setting margin
to a unitless 16
felt weird. I can change them back I suppose.
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.
No weirder… you would probably never realistically set left
to a unitless 16 either.
Did you fix up Facebook? |
I just landed #6677 (so I wouldn't have to do something in just the branch) so you'll have to rebase too. Sorry. |
73cca59
to
6a922c4
Compare
Ok, fixed+rebased. Also I have a diff up for FB internally. After that merges, we will want to do one last pass through the scuba logs immediately prior to doing the sync. |
6a922c4
to
a04cfdf
Compare
expect(CSSPropertyOperations.createMarkupForStyles({ | ||
margin: '16 ', | ||
opacity: 0.5, | ||
padding: ' 4 ', | ||
})).toBe('margin:16px;opacity:0.5;padding:4px;'); | ||
})).toBe('left:16;opacity:0.5;right:4;'); |
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.
pretty sure this won't pass
840afe9
to
a1e5193
Compare
@jimfb updated the pull request. |
a1e5193
to
b205516
Compare
@jimfb updated the pull request. |
I was working on this little fix #6928 when I stumbled on this PR. It looks like this one is scheduled for the next major release, but I'm not sure how versions are handled. Is my PR not necessary at all then? |
b205516
to
b30ccff
Compare
@jimfb updated the pull request. |
cc @spicyj @zpao can one of you stamp?