Re: [csswg-drafts] [css-position] Interoperability issues with absolute positioning (#3952)

The anon block box you refer to is what I would think of as a linebox. That's still needed, because there is inline content to position on the line. The lines are then stacked one after the other, as if they were block boxes.

The only impact `display` has on an absolutely positioned box is its initial (or "static") position. If it's `display: inline`, as it is here, it's positioned where an inline element would be in the same context: immediately after the "Some text" on the same line. If it's `display: block`, it's positioned where a block element would be in the same context: on the line below "Some text" at the left edge of "parent".

And if you set `left` and `top` on the child, this static position is overridden, and the value of display has no effect at all.


-- 
GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3952#issuecomment-533470725 using your GitHub account

Received on Friday, 20 September 2019 08:58:47 UTC