[Webkit-unassigned] [Bug 51777] New: The wrong element get outline focus when dynamic created with autofocus
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 31 07:27:31 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51777
Summary: The wrong element get outline focus when dynamic
created with autofocus
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: amwebdk at gmail.com
Created an attachment (id=77718)
--> (https://bugs.webkit.org/attachment.cgi?id=77718&action=review)
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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list