[Webkit-unassigned] [Bug 200204] Content in <iframe> should override "touch-action" set in embedding document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 16 06:07:11 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200204

--- Comment #5 from Antti Koivisto <koivisto at iki.fi> ---
(In reply to Antoine Quint from comment #1)
> I would have expected them to, but the spec doesn't seem to say anything in
> that regard. Empirically, the attached test shows in the Chrome dev tools
> using Pixel 2 as the emulated device that scrollable content in an <iframe>
> does scroll when the top-level document has "touch-action: none" set.

I don't think spec is ambiguous about this:

"A touch behavior is supported if it conforms to the touch-action property of each element between the hit tested element and its nearest ancestor with the default touch behavior (including both the hit tested element and the element with the default touch behavior)."

With iframe content the "nearest ancestor with the default touch behavior" is the iframe. If there is no 'touch-action' set in any of the elements between the touch element and the iframe then default touch-action (auto) is applied, no matter what it is set in iframes ancestors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190816/efc55370/attachment.html>


More information about the webkit-unassigned mailing list