blob: 2088bd62fe795dff88093445e2e37d82a3c8ec98 [file] [log] [blame]
<!DOCTYPE html>
| The static-position containing block is the containing block of
| a hypothetical box that would have been the first box of the element if its
| specified "position" value had been "static".
| That said, the computation of a static position should not split inline
| boxes.
<!-- TODO: Line box should try harder when estimating static position of an
absolutely positioned box. -->
body {
font-family: Roboto;
font-size: 50px;
font-weight: bold;
.container {
margin-bottom: 75px;
.narrow {
width: 200px;
.absolutely-positioned {
background-color: #2196f3;
height: 50px;
position: absolute;
width: 50px;
<div class="container">
<div class="absolutely-positioned"></div>
<div class="narrow container">
<div class="absolutely-positioned"></div>