<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>23710</bug_id>
          
          <creation_ts>2009-02-03 13:37:07 -0800</creation_ts>
          <short_desc>[GTK] onfocus=&quot;this.select()&quot; does not work.</short_desc>
          <delta_ts>2011-04-22 08:58:46 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>22691</dup_id>
          
          <bug_file_loc>http://www.fdn.fr/~arenevier/bugs/webkit_onfocus_select.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="arno.">a.renevier</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>a.butenka</cc>
    
    <cc>andri</cc>
    
    <cc>ap</cc>
    
    <cc>mrobinson</cc>
    
    <cc>priyajeet.hora</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108152</commentid>
    <comment_count>0</comment_count>
    <who name="arno.">a.renevier</who>
    <bug_when>2009-02-03 13:37:07 -0800</bug_when>
    <thetext>Hi,
when using onfocus=&quot;this.select()&quot; on a textarea or an input text, text is not selected on focus.

to reproduce:
go to http://www.fdn.fr/~arenevier/bugs/webkit_onfocus_select.html
click inside the first textarea:
text is selected then unselected just after.

with second textarea, text is selected correctly on focus.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108153</commentid>
    <comment_count>1</comment_count>
      <attachid>27286</attachid>
    <who name="arno.">a.renevier</who>
    <bug_when>2009-02-03 13:37:47 -0800</bug_when>
    <thetext>Created attachment 27286
testcase

testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135474</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Butenko">a.butenka</who>
    <bug_when>2009-07-28 21:19:28 -0700</bug_when>
    <thetext>that is still broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>270621</commentid>
    <comment_count>3</comment_count>
    <who name="Darth">priyajeet.hora</who>
    <bug_when>2010-08-27 11:32:04 -0700</bug_when>
    <thetext>This issue happens on a mac too. So it&apos;s probably on all platforms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390607</commentid>
    <comment_count>4</comment_count>
    <who name="Darth">priyajeet.hora</who>
    <bug_when>2011-04-21 22:06:43 -0700</bug_when>
    <thetext>Dupe of Bug 22691?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>390799</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-04-22 08:58:46 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 22691 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>27286</attachid>
            <date>2009-02-03 13:37:47 -0800</date>
            <delta_ts>2009-02-03 13:37:47 -0800</delta_ts>
            <desc>testcase</desc>
            <filename>webkit_onfocus_select.html</filename>
            <type>text/html</type>
            <size>415</size>
            <attacher name="arno.">a.renevier</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEvL0VOIiAiaHR0cDov
L3d3dy53My5vcmcvVFIvaHRtbDQvc3RyaWN0LmR0ZCI+CjxodG1sPgo8aGVhZD4KICAgICAgPG1l
dGEgaHR0cC1lcXVpdj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9
VVRGLTgiID4KPHN0eWxlPgo8L3N0eWxlPgo8Ym9keT4KCjx0ZXh0YXJlYSBvbmZvY3VzPSJzZWxl
Y3QoKSI+CnVzdWFsIHRoaXMuc2VsZWN0KCkKPC90ZXh0YXJlYT4KCjx0ZXh0YXJlYSBvbmZvY3Vz
PSJ2YXIgc2VsZiA9IHRoaXM7IHdpbmRvdy5zZXRUaW1lb3V0KGZ1bmN0aW9uKCkgeyBzZWxmLnNl
bGVjdCgpIH0gLCAwKSI+CnRoaXMuc2VsZWN0KCkgd2l0aCB0aW1lb3V0CjwvdGV4dGFyZWE+CgoK
PC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>