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

[csswg-drafts] It is unclear when offsetX/Y are calculated

From: smaug---- via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Mar 2017 11:11:12 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-211049723-1488366670-sysbot+gh@w3.org>
smaug---- has just created a new issue for 

== It is unclear when offsetX/Y are calculated ==
The spec says
"return the x[y]-coordinate of the position where the event occurred 
relative to the origin of the padding edge of the target node, 
ignoring the transforms that apply to the element and its ancestors, 
and terminate these steps."

blink and webkit cache the value at the first access, Edge seems to 
cache it when event is created and Gecko calculates it always. My 
reading is that Gecko does it right, bz' reading is that Edge does it 
right, but then, blink/webkit model is the fastest.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1070 using your GitHub 
Received on Wednesday, 1 March 2017 11:11:18 UTC

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