My intention is : C.offsetParent == document.body. > Return the nearest ancestor element of the element for which at least one of the following is true and terminate this algorithm if such an ancestor is found: [DOM] *Ancestor* in this context should be interpreted as *ancestor in a flat tree*. https://drafts.csswg.org/css-scoping/#flattening -- GitHub Notification of comment by hayatoito Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/159#issuecomment-227640034 using your GitHub accountReceived on Wednesday, 22 June 2016 04:28:14 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:59 UTC