No they don't. display:inline-block, display:table-cell and display:list-item all establish containing blocks, so any of those would also be consistent with that sentence from the spec. What you are looking for is section 9.7 Relationships between 'display', 'position', and 'float', step 2
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have not thought about this before. So I checked it with a CodePen and found this sentence in the Specification:
I assume that these words about "new containing block" force browser developers to display absolutely positioned pseudo-element as a
block
.No they don't.
display:inline-block
,display:table-cell
anddisplay:list-item
all establish containing blocks, so any of those would also be consistent with that sentence from the spec. What you are looking for is section 9.7 Relationships between 'display', 'position', and 'float', step 2