touch-action on elements that aren't scrolled by their nearest scrollable element ancestor

https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html#the-touch-action-css-property

> When a user touches an element, the effect of that touch is determined by
> the value of the touch-action property and the default touch behaviors on
> the element and its ancestors. To determine the effect of a touch, find the
> nearest ancestor (starting from the element itself) that has a default
> touch behavior. Then examine the touch-action property of each element
> between the hit tested element and the element with the default touch
> behavior (including both the hit tested element and the element with the
> default touch behavior).
>

Consider this example:
<div style="overflow:auto; position:absolute">
  <div style="touch-action:none;">
    <div style="overflow:auto">
      ...
      <div style="position:absolute;">...</div>
    </div>
  </div>
</div>
The innermost <div> is not scrolled by the inner scrollable element, but it
is scrolled by the outer scrollable element. (In CSS terms, the innermost
<div>'s containing block is the outer scrollable element.) But the above
spec text suggests that in this example, if the innermost <div> is touched,
only ancestors up to and including the inner scrollable <div> will be
checked for touch-action. In fact there is no way to use touch-action:none
to prevent scrolling in this example. Is this intended?

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*

Received on Wednesday, 25 September 2013 00:25:00 UTC