| Summary: | [iOS]: Tapping <button> outside of a form is no longer working | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | benjamin, bunhere, cdumez, commit-queue, dbates, ddkilzer, esprehn+autocc, gyuyoung.kim, joepeck, sergio | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Created attachment 233856 [details]
[PATCH] Proposed Fix
Comment on attachment 233856 [details]
[PATCH] Proposed Fix
Can we write a DRT test for this?
Comment on attachment 233856 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=233856&action=review > Source/WebCore/ChangeLog:4 > + https://bugs.webkit.org/show_bug.cgi?id=134319 Please list the radar URL under the WebKit bug URL. (In reply to comment #3) > (From update of attachment 233856 [details]) > Can we write a DRT test for this? Hmm, probably. I'll look into this. |
Reduction: <button>Test Button</button> <script> document.addEventListener('click', function() { alert('click'); }, false); </script> This is no longer working. It looks like when upstreaming iOS WebKit we changed HTMLButtonElement::willRespondToMouseClickEvents away from the iOS implementation to the OpenSource (Chromium / Android implementation). We should revert back to the iOS implementation that supports <button> outside of a <form>.