Summary: | Touch events not received with initial-scale=1 viewport | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | John Firebaugh <john.firebaugh> | ||||||
Component: | UI Events | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | simon.fraser, thorton, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | Other | ||||||||
Hardware: | iPhone / iPad | ||||||||
OS: | iOS 11 | ||||||||
Attachments: |
|
Description
John Firebaugh
2018-01-11 16:59:38 PST
Our touch event region computation is wrong with <div class="container">. We should be adding a rect for the child <canvas> but are not. <div class="container"> is actually zero height (visible if you put an outline on it), which is why it isn't clickable. Created attachment 331234 [details]
Testcase
Created attachment 331256 [details]
Patch
Fixed in internal code. Test added in https://trac.webkit.org/changeset/226932/webkit Thanks for the report! |