Use the is_absolute_containing_block method everywhere
0a24c2f
This is a better approach than relying on contains_positioned_fragments, because in the future other properties will create absolute containing blocks.