Fix bug where leaf nodes do not bound innerWidth/Height before measure
Differential Revision: D66983314
This commit is contained in:
committed by
Facebook GitHub Bot
parent
5478812db3
commit
7e65d7a3a1
@@ -37,7 +37,8 @@
|
||||
<div style="height: 50px;"></div>
|
||||
</div>
|
||||
|
||||
<div id="flex_grow_in_at_most_container" style="width: 100px; height: 100px; background-color: white; flex-direction: row; align-items: flex-start;">
|
||||
<div id="flex_grow_in_at_most_container"
|
||||
style="width: 100px; height: 100px; background-color: white; flex-direction: row; align-items: flex-start;">
|
||||
<div style="flex-direction: row;">
|
||||
<div style="flex-grow: 1; flex-basis: 0px;"></div>
|
||||
</div>
|
||||
@@ -126,3 +127,9 @@
|
||||
<div style="min-width: 10%; max-width: 10%; min-height: 10%; max-height: 10%;">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="min_width_leaf_node_bigger_than_width" style="width: 200px;">
|
||||
<div style="min-width: 10000px; width: 200px">
|
||||
Lorem ipsum sdafhasdfkjlasdhlkajsfhasldkfhasdlkahsdflkjasdhflaksdfasdlkjhasdlfjahsdfljkasdhalsdfhas dolor sit amet
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user