Bug 197190
| Summary: | Missing touchstart event when tabindex used | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Roland Soos <roland> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | dino, graouts, rniwa, thorton, webkit-bug-importer, wenson_hsieh, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 12 | ||
| Hardware: | iPhone / iPad | ||
| OS: | Unspecified | ||
Roland Soos
On touch based Apple devices, if an element has tabindex then you can "activate" it when you touch near that element. The problem is that it does activate for example :HOVER css, but fails to trigger the touchstart, etc... events.
Here is an example: https://codepen.io/mm00/pen/JVaERz Full view to test: https://codepen.io/mm00/full/JVaERz
The circle has 20px margin. If you touch the margin (not the circle itself), the circle will turn into green with :HOVER, but there will be no touchstart event. I think the effect of the touch should be consistent, either it should fire the touch* events, or it shouldn't mark the element as hovered.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/50130556>