Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insets no longer apply to statically positioned nodes (#41369)
Summary: X-link: facebook/yoga#1454 Pull Request resolved: #41369 One of the most basic aspects of statically positioned nodes is that [insets do not apply to them](https://developer.mozilla.org/en-US/docs/Web/CSS/position#static). So I put a guard inside `Node::relativePosition` where we take that into account when setting the position. Reviewed By: NickGerleman Differential Revision: D50507808 fbshipit-source-id: 7aab4138b06e60936db0ddb6019a9a30f1ded2db
- Loading branch information