W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

Re: [csswg-drafts] HTMLElement.prototype.offsetParent leaks a node inside a shadow tree

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Dec 2016 08:23:04 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-266368570-1481530982-sysbot+gh@w3.org>
@rniwa hum, that is a good point. So instead of returning *ancestor*, 
it should say:

If *ancestor*'s root is a shadow root, then return null. Otherwise, 
return *ancestor*.

?

-- 
GitHub Notification of comment by zcorpan
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/159#issuecomment-266368570 
using your GitHub account
Received on Monday, 12 December 2016 08:23:05 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC