[Webkit-unassigned] [Bug 8114] New: select method doesn't highlight text field contents
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Fri Mar 31 17:05:52 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=8114
Summary: select method doesn't highlight text field contents
Product: WebKit
Version: 417.x
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: jason at bakafish.com
object.select() should highlight and select the contents of the (text field)
object according to the DOM. This doesn't seem to happen, the object gets
focus, but the contents are not selected.
Example code:
<html>
<head>
<script type="text/javascript">
function selText() {
document.getElementById("myText").select()
}
</script>
</head>
<body>
<form>
<input size="40" type="text" id="myText" value="A cat played with a ball in
the garden">
<input type="button" value="Select text" onclick="selText()">
</form>
</body>
</html>
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list