Summary: Fixes issue brought up in https://github.com/facebook/react-native/issues/10603 The gist of the problem is that in css it is fine for a child to overflow a parent if it feels the need to, we were not respecting this. Reviewed By: mmmulani Differential Revision: D4182141 fbshipit-source-id: c73fd15d2577ab846fc8a202d529d0e6e1207b75
18 lines
549 B
HTML
18 lines
549 B
HTML
<div id="nested_overflowing_child" style="height: 100px; width: 100px;">
|
|
<div>
|
|
<div style="height: 200px; width: 200px;"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nested_overflowing_child_in_constraint_parent" style="height: 100px; width: 100px;">
|
|
<div style="height: 100px; width: 100px;">
|
|
<div style="height: 200px; width: 200px;"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="parent_wrap_child_size_overflowing_parent" style="width: 100px; height: 100px;">
|
|
<div style="width: 100px;">
|
|
<div style="width: 100px; height: 200px;"></div>
|
|
</div>
|
|
</div>
|