W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2017

Re: [csswg-drafts] [cssom-view] It is unclear when offsetX/Y are calculated

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Mar 2017 18:42:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-284816468-1488912178-sysbot+gh@w3.org>
Wait, isn't the event bubbling path precomputed? It seems to be the case for elements that are not in a shadow root, if you move them during the event bubbling you do not change the elements that are being bubbled to. 


Edge does not support this but I would assume the same applies to Shadow DOM: if you move the shadow parent during its internal event phase you do not change the Light Tree node that will become the target. In which case you can still compute the values during hit testing, you just need to store them for the array of targets.

GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1070#issuecomment-284816468 using your GitHub account
Received on Tuesday, 7 March 2017 18:43:06 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:09 UTC