How to identify the containing block

I just want to elaborate on the fourth rule. It means that elements with position: fixed or position: absolute can be contained by their nearest parent element with those certain properties .

I also wrote an article to explain the concept of the containing block in more detail.