The wrong element get outline focus when dynamic created with autofocus
https://bugs.webkit.org/show_bug.cgi?id=51777
Summary The wrong element get outline focus when dynamic created with autofocus
Andreas Madsen
Reported 2010-12-31 07:27:31 PST
Created attachment 77718 [details] testcase TESTCASE: <!DOCTYPE html> <html> <head> <title>Testcase | Attribute | Autofocus</title> <meta charset="utf-8"> </head> <body> <input type="text" autofocus> <script type="text/javascript"> document.addEventListener( "DOMContentLoaded", function () { var input = document.createElement('input'); input.setAttribute('autofocus',true); document.body.appendChild(input); }, false); </script> </body> </html> RESULT: The first element got a blue outline focus, but dosn't have a "ready to write cursor". The second element have no outline, but dose have a "ready to write cursor". This is confusing.
Attachments
testcase (438 bytes, text/html)
2010-12-31 07:27 PST, Andreas Madsen
no flags
Alexey Proskuryakov
Comment 1 2010-12-31 21:22:50 PST
Confirmed with r74228 (not a regression from Safari 5).
Note You need to log in before you can comment on or make changes to this bug.