Steps to reproduce:
Use the following template:
HTML<div class="containter">
<div class="inner"></div>
</div>
CSS.containter{
width:200px;
height:50px;
background-color:white;
position:relative;
}
.inner{
width:50%;
height:50px;
background-color:red;
position:absolute;
}
Expected results:
The inner element occupies half of the parent element.
Current results:
The inner element occupies a smaller area of the parent element.