[cssom-view] Ignore transforms for MouseEvent#offsetX/Y. https://www.w3.org/Bugs/Public/show_bug.cgi?id=15430

Thu, 19 Sep 2013 16:10:31 +0200

author
Simon Pieters <simonp@opera.com>
date
Thu, 19 Sep 2013 16:10:31 +0200
changeset 9220
2623f63c16ee
parent 9219
0e33c7674d1e
child 9221
32846a6178de

[cssom-view] Ignore transforms for MouseEvent#offsetX/Y. https://www.w3.org/Bugs/Public/show_bug.cgi?id=15430

cssom-view/Overview.html file | annotate | diff | comparison | revisions
cssom-view/Overview.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/cssom-view/Overview.html	Thu Sep 19 16:00:40 2013 +0200
     1.2 +++ b/cssom-view/Overview.html	Thu Sep 19 16:10:31 2013 +0200
     1.3 @@ -1571,7 +1571,8 @@
     1.4  
     1.5  <ol>
     1.6   <li><p>If the event's <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#dispatch-flag">dispatch flag</a> is set, return the x-coordinate of the position where the event occurred relative to the
     1.7 - origin of the <a href="#padding-edge">padding edge</a> of the target node and terminate these steps.
     1.8 + origin of the <a href="#padding-edge">padding edge</a> of the target node, ignoring the <a href="#transforms">transforms</a> that apply to the element and its ancestors, and terminate
     1.9 + these steps.
    1.10   <li><p>Return the value of the event's <code title="dom-MouseEvent-pageX"><a href="#dom-mouseevent-pagex">pageX</a></code> attribute.
    1.11  </ol>
    1.12  
    1.13 @@ -1579,7 +1580,8 @@
    1.14  
    1.15  <ol>
    1.16   <li><p>If the event's <a class="external" data-anolis-spec="dom" href="http://dom.spec.whatwg.org/#dispatch-flag">dispatch flag</a> is set, return the y-coordinate of the position where the event occurred relative to the
    1.17 - origin of the <a href="#padding-edge">padding edge</a> of the target node and terminate these steps.
    1.18 + origin of the <a href="#padding-edge">padding edge</a> of the target node, ignoring the <a href="#transforms">transforms</a> that apply to the element and its ancestors, and terminate
    1.19 + these steps.
    1.20   <li><p>Return the value of the event's <code title="dom-MouseEvent-pageY"><a href="#dom-mouseevent-pagey">pageY</a></code> attribute.
    1.21  </ol>
    1.22  
     2.1 --- a/cssom-view/Overview.src.html	Thu Sep 19 16:00:40 2013 +0200
     2.2 +++ b/cssom-view/Overview.src.html	Thu Sep 19 16:10:31 2013 +0200
     2.3 @@ -1532,7 +1532,8 @@
     2.4  
     2.5  <ol>
     2.6   <li><p>If the event's <span data-anolis-spec=dom>dispatch flag</span> is set, return the x-coordinate of the position where the event occurred relative to the
     2.7 - origin of the <span>padding edge</span> of the target node and terminate these steps.
     2.8 + origin of the <span>padding edge</span> of the target node, ignoring the <span>transforms</span> that apply to the element and its ancestors, and terminate
     2.9 + these steps.
    2.10   <li><p>Return the value of the event's <code title=dom-MouseEvent-pageX>pageX</code> attribute.
    2.11  </ol>
    2.12  
    2.13 @@ -1540,7 +1541,8 @@
    2.14  
    2.15  <ol>
    2.16   <li><p>If the event's <span data-anolis-spec=dom>dispatch flag</span> is set, return the y-coordinate of the position where the event occurred relative to the
    2.17 - origin of the <span>padding edge</span> of the target node and terminate these steps.
    2.18 + origin of the <span>padding edge</span> of the target node, ignoring the <span>transforms</span> that apply to the element and its ancestors, and terminate
    2.19 + these steps.
    2.20   <li><p>Return the value of the event's <code title=dom-MouseEvent-pageY>pageY</code> attribute.
    2.21  </ol>
    2.22  

mercurial