Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dont use ios border rendering if we use default black color
Summary: iOS and css have a different way to draw borders. Decision which rendering to use considers alpha value of given color as well. If alpha=0 -> border is invisible -> we use ios render. That doesn't work as expected in a case where only `borderWidth` property is set. A default black color is used when no `borderColor` is set, but alpha checking logic will test `null`. Which resolves as alpha=0. Reviewed By: javache Differential Revision: D3750523 fbshipit-source-id: 453d52a16287c6286e8887a9ab3795d3ded1dec6
- Loading branch information