| Summary: | onmousedown should be cancelable | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | lunter <lunter> |
| Component: | kjs | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 4.2.2 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | source | ||
Created attachment 32947 [details]
source
SVN commit 958236 by orlovich: Make sure we don't transfer focus on a cancelled mousedown BUG:190255 BUG:190142 M +1 -1 khtmlview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=958236 SVN commit 958239 by orlovich: automatically merged revision 958236: Make sure we don't transfer focus on a cancelled mousedown BUG:190255 BUG:190142 M +1 -1 khtmlview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=958239 |
Version: 4.2.2 (using KDE 4.2.2) OS: MS Windows Installed from: MS Windows Run this code: <html> <body> <div><input /></div> <div style="background:red;cursor:pointer" onmousedown="return false">Click me. Onmousedown is cancelable. Input should be still focused.</div> <div>- Konqueror: FAILS</div> <div>- Firefox: OK</div> <div>- Opera: OK</div> <div>- Safari: OK</div> <div>- Chrome: OK</div> <div>- IE: FAILS</div> <script> document.getElementsByTagName('input')[0].focus() </script> </body> </html>