contain an element within its parents