Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1421 Adds repro of inconsistent implementation of aspect-ratio behavior across Web and React Native. Reviewed By: NickGerleman Differential Revision: D50225804 fbshipit-source-id: 0494e0373dcdebc789715b2ec19c002a47d69ce0
16 lines
583 B
HTML
16 lines
583 B
HTML
<!-- TODO: aspect-ratio behavior is inconsistent with Web -->
|
|
<div id="aspect_ratio_does_not_stretch_cross_axis_dim" data-disabled="true" style="width: 300px; height: 300px;">
|
|
<div style="flex: 1; overflow: scroll;">
|
|
<div style="flex-direction: row;">
|
|
<div style="flex: 2; aspect-ratio: 1;"></div>
|
|
<div style="width: 5px"></div>
|
|
<div style="flex: 1">
|
|
<div style="flex: 1; aspect-ratio: 1;">
|
|
<div style="width: 5px"></div>
|
|
<div style="flex: 1; aspect-ratio: 1;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|