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: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
Date: Mon, 06 Mar 2017 18:33:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-284487953-1488825216-sysbot+gh@w3.org>
> I'd prefer that offsetX and offsetY were calculated only at the Event creation time

OK, that's the Edge behavior as far as I can tell, right?

> I think the Edge behavior is strange

Given your previous sentence, I'm wondering what you think the Edge behavior is....

> I don't see why we would want to do the more expensive approach making these fields layout inducing

Just so we're clear: they're layout inducing in Blink right now, the first time you call the getter.  You seem to be arguing they never should be, which means the behavior of everyone except Edge should change.  This does not seem a priori terrible to me, but I'm not sure how to reconcile that with your second sentence.

GitHub Notification of comment by bzbarsky
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1070#issuecomment-284487953 using your GitHub account
Received on Monday, 6 March 2017 18:33:43 UTC

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