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>.
<rdar://problem/17213346>
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.
<http://trac.webkit.org/changeset/170487>
(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.