[Webkit-unassigned] [Bug 8114] select method doesn't highlight text field contents for onclick

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Apr 3 12:50:20 PDT 2006


jason at bakafish.com changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
            Summary|select method doesn't       |select method doesn't
                   |highlight text field        |highlight text field
                   |contents                    |contents for onclick

------- Comment #4 from jason at bakafish.com  2006-04-03 12:50 PDT -------
Okay, one behavior is fixed, however it still fails in another example. If the
textfield element is clicked to obtain focus or the event is set on the onClick
(or indirectly the onFocus fired by a click derived focus event) handler the
text is selected then the cursor steals the select behavior and the text is no
longer selected.

Example code 2:

<script type="text/javascript">
function selText() {

   <input size="40" type="text" id="myText" value="A cat played with a ball in
the garden" onclick="selText()">


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