webf
webf copied to clipboard
absolute layout behavior incorrect
Affected version
main
No same issues found.
- [X] Yes, I search all issues but not found.
Steps to Reproduce
refer to code.
Code example
<style type="text/css">
.container3 {
width: 200px;
height: 200px;
background: rebeccapurple;
position: relative;
}
</style>
<div class="container3">
<div
style="position: absolute;top: 0; bottom: 0;right: 0; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; background:aqua">
<span>VVVV</span>
</div>
</div>
Expected results
Actual results