Re: [csswg-drafts] [cssom-view] Algorithm of `Element.offsetParent`

WebKit's code is here: 
https://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderObject.cpp#L1869
We walk the parent chain looking for things that are positioned, with 
special casing for tables and things with zoom.

-- 
GitHub Notification of comment by smfr
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/409#issuecomment-241921197 
using your GitHub account

Received on Wednesday, 24 August 2016 00:12:03 UTC