According to the spec: https://www.w3.org/TR/CSS22/visuren.html#fixed-positioning :
9.6.1 Fixed positioning
Fixed positioning is a subcategory of absolute positioning. The only difference is that for a fixed positioned box, the containing block is established by the viewport.
But when a parent element has some properties like transform
, a child element that has position: fixed
behaves like positioned absolutely. Can someone point where the spec says this, and the list of all properties that cause this behavior?