Add some tests for padding and border for absolute positioning (#1650)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1650 See https://github.com/facebook/yoga/issues/1436#issuecomment-2070877918 Reviewed By: NickGerleman Differential Revision: D56478788 fbshipit-source-id: 94a552ed55eb4127eddc6c2018706661fff64093
This commit is contained in:
committed by
Facebook GitHub Bot
parent
932361cdbf
commit
dc23284cf7
@@ -132,6 +132,22 @@
|
||||
<div style="position:absolute; width:50px; height:50px;"></div>
|
||||
</div>
|
||||
|
||||
<div id="absolute_layout_padding">
|
||||
<div style="width:200px; height:200px; margin:10px; position: relative">
|
||||
<div style="position:static; width:200px; height:200px; padding: 50px;">
|
||||
<div style="position:absolute; width:50px; height:50px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="absolute_layout_border">
|
||||
<div style="width:200px; height:200px; margin:10px; position: relative">
|
||||
<div style="position:static; width:200px; height:200px; border: 10px solid black;">
|
||||
<div style="position:absolute; width:50px; height:50px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="absolute_layout_column_reverse_margin_border"
|
||||
style="width:200px; height:200px; flex-direction: column-reverse;">
|
||||
<div
|
||||
|
Reference in New Issue
Block a user