<?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>4070</bug_id>
          
          <creation_ts>2005-07-19 10:16:11 -0700</creation_ts>
          <short_desc>Find in plain text won&apos;t find only occurrence if it overlaps selection</short_desc>
          <delta_ts>2005-09-09 11:34:58 -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>WebKit Misc.</component>
          <version>412</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Sullivan">sullivan</reporter>
          <assigned_to name="John Sullivan">sullivan</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14913</commentid>
    <comment_count>0</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2005-07-19 10:16:11 -0700</bug_when>
    <thetext>To reproduce:
1. Open a plain text document in Safari.
2. Find some text that only occurs once on the page
3. Create a selection that overlaps the text you noted in step 2, but does not entirely encompass it
4. Command-F to bring up Find UI, and search for the text you noted in step 2

This should find the only instance of the text, but fails to do so. This works correctly in HTML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14914</commentid>
    <comment_count>1</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2005-07-19 10:17:07 -0700</bug_when>
    <thetext>It seems that PDFs would have this same bug, though I tested just now and could not reproduce the 
problem in a PDF. We should understand why.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19228</commentid>
    <comment_count>2</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2005-09-09 10:43:07 -0700</bug_when>
    <thetext>PDFs don&apos;t have this same bug because we search the entire PDF in the wrap case; this is the same 
behavior as HTML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19230</commentid>
    <comment_count>3</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2005-09-09 11:34:58 -0700</bug_when>
    <thetext>Checked in fix.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>