Fractial leftover #508

Closed
arcanis wants to merge 3 commits from fractial-leftover into master
arcanis commented 2017-04-13 15:13:35 -07:00 (Migrated from github.com)

This PR fixes #490

  • Coordinates are now rounded depending on their position on the world pixel grid instead of the local grid, which means that they are now properly rounded relatively to their parents.

  • Because this change is an improvement over the Chrome implementation which suffer from the same bug that we do, I've implemented new expect-* attributes for html fixtures. They can be used to override the generated assertion that we must match, and also validate that Chrome's behaviour is the one we expect. You can see them in action here.

This PR fixes #490 - Coordinates are now rounded depending on their position on the world pixel grid instead of the local grid, which means that they are now properly rounded relatively to their parents. - Because this change is an improvement over the Chrome implementation which suffer from the same bug that we do, I've implemented new `expect-*` attributes for html fixtures. They can be used to override the generated assertion that we must match, and also validate that Chrome's behaviour is the one we expect. You can see them in action [here](https://github.com/facebook/yoga/pull/508/files#diff-054aae1dfb4ca4e6f76130952274dcdaR66).
arcanis commented 2017-04-13 15:43:05 -07:00 (Migrated from github.com)

It should also fix the JS Travis build: apparently the emscripten sdk file structure changed in a recent release.

It should also fix the JS Travis build: apparently the emscripten sdk file structure changed in a recent release.
woehrl01 commented 2017-04-13 23:04:09 -07:00 (Migrated from github.com)

I like the idea of expected could be useful for some flex-basis tests where chrome returns some invalid values, top. 👍

I like the idea of ```expected``` could be useful for some ```flex-basis``` tests where chrome returns some invalid values, top. 👍
arcanis commented 2017-04-26 14:53:11 -07:00 (Migrated from github.com)

I'm going to close this PR, since its related issue has been fixed in aa5b296 :)

I'm going to close this PR, since its related issue has been fixed in aa5b296 :)

Pull request closed

Sign in to join this conversation.
No description provided.