So the default containing block for absolutely positioned elements is not the HTML element but the viewport.I didn't know that.