I created this code. This overflows to the right, which causes a scrollbar to appear:
.content {
position: absolute;
height: 100px;
width: 100px;
right: -50px;
top: 50px;
}
<div class="content">
CONTENT
</div>
However, this code, which extends to the left, did not generate scrollbars. I interpreted from the W3C specification that this would create scrollbars in both directions.
The overflow-x property specifies the handling of overflow in the horizontal direction (i.e., overflow from the left and right sides of the box), and the overflow-y property specifies the handling of overflow in the vertical direction (i.e., overflow from the top and bottom sides of the box).
.content {
position: absolute;
height: 100px;
width: 100px;
left: -50px;
top: 50px;
}
<div class="content">
CONTENT
</div>
Does the W3C specification explain why scrollbars are not generated when projecting to the left?