RESOLVED DUPLICATE of bug 200205 199977
touch-action on <canvas> has no effect
https://bugs.webkit.org/show_bug.cgi?id=199977
Summary touch-action on <canvas> has no effect
Antoine Quint
Reported 2019-07-19 23:48:21 PDT
Created attachment 374543 [details] Test See the attached layout test which simply sets "touch-action: none" on a lone <canvas> element under the body. If I run this test I get this output: (GraphicsLayer (anchor 0.00 0.00) (bounds 800.00 600.00) (children 1 (GraphicsLayer (bounds 800.00 600.00) (contentsOpaque 1) (drawsContent 1) (backgroundColor #FFFFFF) (event region (rect (0,0) width=800 height=600) ) ) ) ) Now, if I change the <canvas> to a <div>, I get: (GraphicsLayer (anchor 0.00 0.00) (bounds 800.00 600.00) (children 1 (GraphicsLayer (bounds 800.00 600.00) (contentsOpaque 1) (drawsContent 1) (backgroundColor #FFFFFF) (event region (rect (0,0) width=800 height=600) (touch-action (none (rect (8,8) width=100 height=100) ) ) ) ) ) ) Something is wrong with <canvas> elements and touch-action.
Attachments
Test (482 bytes, text/html)
2019-07-19 23:48 PDT, Antoine Quint
no flags
Antoine Quint
Comment 1 2019-07-19 23:48:58 PDT
Antoine Quint
Comment 2 2019-08-12 02:51:30 PDT
*** This bug has been marked as a duplicate of bug 200205 ***
Note You need to log in before you can comment on or make changes to this bug.