<?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>27797</bug_id>
          
          <creation_ts>2009-07-29 01:54:13 -0700</creation_ts>
          <short_desc>selectionStart, selectionEnd properties return wrong values</short_desc>
          <delta_ts>2014-02-21 01:25:21 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>25444</dup_id>
          
          <bug_file_loc>n/a</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="bugzilla33">bugzilla33</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>surya2rony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>135529</commentid>
    <comment_count>0</comment_count>
      <attachid>33702</attachid>
    <who name="bugzilla33">bugzilla33</who>
    <bug_when>2009-07-29 01:54:13 -0700</bug_when>
    <thetext>Created attachment 33702
source

Run attachement.
Script should alert: 5,7
...but it alerts: 0,0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135551</commentid>
    <comment_count>1</comment_count>
    <who name="bugzilla33">bugzilla33</who>
    <bug_when>2009-07-29 03:11:23 -0700</bug_when>
    <thetext>http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#h-17.12.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135720</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-07-29 16:35:22 -0700</bug_when>
    <thetext>Now the issue looks even more familiar!

*** This bug has been marked as a duplicate of bug 25444 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>983150</commentid>
    <comment_count>3</comment_count>
    <who name="Suria Narayanan">surya2rony</who>
    <bug_when>2014-02-21 01:25:21 -0800</bug_when>
    <thetext>I am facing this in chrome Version 33.0.1750.115

selectionDirection: [Exception: DOMException]
selectionEnd: [Exception: DOMException]
selectionStart: [Exception: DOMException]</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>33702</attachid>
            <date>2009-07-29 01:54:13 -0700</date>
            <delta_ts>2009-07-29 01:54:13 -0700</delta_ts>
            <desc>source</desc>
            <filename>selection.html</filename>
            <type>text/html</type>
            <size>733</size>
            <attacher name="bugzilla33">bugzilla33</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgU3RyaWN0Ly9FTiIg
Imh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXN0cmljdC5kdGQiPg0KPGh0
bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPg0KIDxoZWFkPg0KICA8dGl0
bGU+PC90aXRsZT4NCiA8L2hlYWQ+DQogPGJvZHk+DQogIDxkaXY+PGlucHV0IGlkPSJ0ZXN0IiBy
ZWFkb25seT0icmVhZG9ubHkiIHZhbHVlPSIyMDA5LTA0LTI5IiAvPjwvZGl2Pg0KICA8ZGl2PlRo
aXMgc2NyaXB0IHNob3VsZCBhbGVydDogNSwgNzwvZGl2Pg0KICA8ZGl2Pg0KICAgLSBTYWZhcmk6
IEZBSUxTPGJyLz4NCiAgIC0gQ2hyb21lOiBGQUlMUzxici8+DQogICAtIEZpcmVmb3g6IE9LPGJy
Lz4NCiAgIC0gT3BlcmE6IE9LPGJyLz4NCiAgIC0gS29ucXVlcm9yOiBPSzxici8+DQogICAtIElF
OiAobm90IHN1cHBvcnRlZCkNCiAgPC9kaXY+DQogIDxzY3JpcHQgdHlwZT0idGV4dC9qYXZhc2Ny
aXB0Ij4vLzwhW0NEQVRBWw0KICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ3Rlc3QnKS5zZXRT
ZWxlY3Rpb25SYW5nZSg1LDcpDQogICBhbGVydChkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgndGVz
dCcpLnNlbGVjdGlvblN0YXJ0KycsICcrZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ3Rlc3QnKS5z
ZWxlY3Rpb25FbmQpDQogIC8vXV0+PC9zY3JpcHQ+DQogPC9ib2R5Pg0KPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>