<?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>44512</bug_id>
          
          <creation_ts>2010-08-24 04:04:24 -0700</creation_ts>
          <short_desc>sequential block nodes that have different float style are selected as a single word</short_desc>
          <delta_ts>2022-11-30 02:47: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>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Hajime Morrita">morrita</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>cody.lerum</cc>
    
    <cc>rniwa</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>268472</commentid>
    <comment_count>0</comment_count>
      <attachid>65255</attachid>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2010-08-24 04:04:24 -0700</bug_when>
    <thetext>Created attachment 65255
a repro.

See an attached repro. it runs a test automatically.

Expected: only text &quot;Left&quot; is selected.
Actual: Both &quot;Left&quot; and &quot;Right&quot; are selected.

----
The bug is originally reported at http://crbug.com/39795.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>268473</commentid>
    <comment_count>1</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2010-08-24 04:06:12 -0700</bug_when>
    <thetext>WebKit assumes a floating element as a something like a inline, thus doesn&apos;t treat it need spacing 
between elements. 
See shouldEmitNewlinesBeforeAndAfterNode() in TextIterator.cpp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1915566</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-11-30 02:47:21 -0800</bug_when>
    <thetext>I am able to reproduce this bug in Safari 16.1 and Chrome Canary 110, where both browsers select both &quot;left&quot; and &quot;right&quot; while Firefox only select &quot;Left&quot; as expected. Just wanted to highlight the latest behavior from attached testcase. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>65255</attachid>
            <date>2010-08-24 04:04:24 -0700</date>
            <delta_ts>2010-08-24 04:04:24 -0700</delta_ts>
            <desc>a repro.</desc>
            <filename>selectword.html</filename>
            <type>text/html</type>
            <size>518</size>
            <attacher name="Hajime Morrita">morrita</attacher>
            
              <data encoding="base64">PGh0bWw+DQo8aGVhZD4NCjxzdHlsZT4NCi5mb28gew0KICBmbG9hdDogbGVmdDsNCn0NCg0KLmJh
ciB7DQogIGZsb2F0OiByaWdodDsNCn0NCjwvc3R5bGU+DQo8c2NyaXB0Pg0KDQpmdW5jdGlvbiB0
ZXN0KCkNCnsNCiAgICB2YXIgZm9vVGV4dCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJmb28i
KS5maXJzdENoaWxkOw0KICAgIHZhciBzZWwgPSB3aW5kb3cuZ2V0U2VsZWN0aW9uKCk7DQogICAg
c2VsLnNldEJhc2VBbmRFeHRlbnQoZm9vVGV4dCwgMCwgZm9vVGV4dCwgMik7DQogICAgc2VsLm1v
ZGlmeSgiZXh0ZW5kIiwgImZvcndhcmQiLCAid29yZCIpOw0KfQ0KDQo8L3NjcmlwdD4NCjwvaGVh
ZD4NCjxib2R5IG9ubG9hZD0idGVzdCgpIj4NCiAgPGRpdiBpZD0icm9vdCIgY29udGVudEVkaXRh
YmxlPg0KICAgIDxkaXYgY2xhc3M9ImZvbyIgaWQ9ImZvbyI+TGVmdDwvZGl2Pg0KICAgIDxkaXYg
Y2xhc3M9ImJhciIgaWQ9ImJhciI+UmlnaHQ8L2Rpdj4NCiAgPC9kaXY+DQo8L2JvZHk+DQo8L2h0
bWw+DQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>