Skip to content

Import "Fix percent absolute position and size calcuate different with web" behind experimental feature (#1028)#1201

Closed
NickGerleman wants to merge 5 commits intofacebook:mainfrom
NickGerleman:import-1028
Closed

Import "Fix percent absolute position and size calcuate different with web" behind experimental feature (#1028)#1201
NickGerleman wants to merge 5 commits intofacebook:mainfrom
NickGerleman:import-1028

Conversation

@NickGerleman
Copy link
Copy Markdown
Contributor

Fixes #850

#850 describes a conformance issue where positioning of an absolute child using percentages is not calculated against the correct box size.

This takes the fix for that in #1028, regenerates tests, and fixes tests so that the experimental feature can be enabled. Goal is to run this as an experiment internally to see if we can enable by default.

Changelog:
[Internal]

…h web" behind experimental feature (facebook#1028)

Fixes facebook#850

facebook#850 describes a conformance issue where positioning of an absolute child using percentages is not calculated againt the correct box size.

This takes the fix for that in facebook#1028, regenerates tests, and fixes tests so that the experimental feature can be enabled. Goal is to run this as an experiment internally to see if we can enable by default.

Changelog:
[Internal]
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@NickGerleman merged this pull request in 7e96b65.

facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Jan 8, 2023
…h web" behind experimental feature (#1028) (#1201)

Summary:
Fixes facebook/yoga#850

facebook/yoga#850 describes a conformance issue where positioning of an absolute child using percentages is not calculated against the correct box size.

This takes the fix for that in facebook/yoga#1028, regenerates tests, and fixes tests so that the experimental feature can be enabled. Goal is to run this as an experiment internally to see if we can enable by default.

Changelog:
[Internal]

X-link: facebook/yoga#1201

Reviewed By: yungsters

Differential Revision: D42282358

Pulled By: NickGerleman

fbshipit-source-id: 57c0dd9b0f1c47cb9335ff6e13d44b4646e5fa58
facebook-github-bot pushed a commit to facebook/react-native that referenced this pull request Jan 8, 2023
…h web" behind experimental feature (#1028) (#1201)

Summary:
Fixes facebook/yoga#850

facebook/yoga#850 describes a conformance issue where positioning of an absolute child using percentages is not calculated against the correct box size.

This takes the fix for that in facebook/yoga#1028, regenerates tests, and fixes tests so that the experimental feature can be enabled. Goal is to run this as an experiment internally to see if we can enable by default.

Changelog:
[Internal]

X-link: facebook/yoga#1201

Reviewed By: yungsters

Differential Revision: D42282358

Pulled By: NickGerleman

fbshipit-source-id: 57c0dd9b0f1c47cb9335ff6e13d44b4646e5fa58
liujinye-sys pushed a commit to open-vela/external_yoga that referenced this pull request Dec 16, 2025
…h web" behind experimental feature (#1028) (#1201)

Summary:
Fixes facebook/yoga#850

facebook/yoga#850 describes a conformance issue where positioning of an absolute child using percentages is not calculated against the correct box size.

This takes the fix for that in facebook/yoga#1028, regenerates tests, and fixes tests so that the experimental feature can be enabled. Goal is to run this as an experiment internally to see if we can enable by default.

Changelog:
[Internal]

Pull Request resolved: facebook/yoga#1201

Reviewed By: yungsters

Differential Revision: D42282358

Pulled By: NickGerleman

fbshipit-source-id: 57c0dd9b0f1c47cb9335ff6e13d44b4646e5fa58
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.

absolute child element percent length of left/top/right/bottom/width/height calcuated different compared with web

2 participants