<?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>241074</bug_id>
          
          <creation_ts>2022-05-28 22:39:39 -0700</creation_ts>
          <short_desc>Incomplete selection highlight when selection straddles columns in flex-flow: column wrap</short_desc>
          <delta_ts>2023-04-20 21:05:43 -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>Layout and Rendering</component>
          <version>Safari 15</version>
          <rep_platform>Mac (Apple Silicon)</rep_platform>
          <op_sys>macOS 12</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>119878</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>bfulgham</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>svillar</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1872588</commentid>
    <comment_count>0</comment_count>
      <attachid>459832</attachid>
    <who name="">mitz</who>
    <bug_when>2022-05-28 22:39:39 -0700</bug_when>
    <thetext>Created attachment 459832
Test case

To reproduce, open the test case and make a selection that spans multiple columns. The first line of a column will not have a selection highlight if the selection extends to the previous column. For example, selecting “Two” through “Five” leaves “Four” unhighlighted.

The test case is a reduction from the New York Times Spelling Bee puzzle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873694</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-02 14:19:59 -0700</bug_when>
    <thetext>&lt;rdar://problem/94310080&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950240</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-04-20 20:38:29 -0700</bug_when>
    <thetext>I am sure, it is now fixed, since I did merge of Blink patch to fix it for Flex and Grid.

https://github.com/WebKit/WebKit/commit/48936aafec37b3b17c182f210f46e65bf6df9ba9

I am marking this as duplicate of bug 119878.

If it is reproducible, please reopen with screenshot of incorrect behavior.

*** This bug has been marked as a duplicate of bug 119878 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950247</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2023-04-20 21:05:43 -0700</bug_when>
    <thetext>Thanks for finding the original. Both the test case and the source website behave as expected with the latest shipping Safari on macOS Monterey.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>459832</attachid>
            <date>2022-05-28 22:39:39 -0700</date>
            <delta_ts>2022-05-28 22:39:39 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>incomplete selection highlight in flex flow.html</filename>
            <type>text/html</type>
            <size>233</size>
            <attacher>mitz</attacher>
            
              <data encoding="base64">PGRpdiBzdHlsZT0iZGlzcGxheTogZmxleDsgZmxleC1mbG93OiBjb2x1bW4gd3JhcDsgaGVpZ2h0
OiA0ZW07Ij4KICAgIDxkaXY+T25lPC9kaXY+CiAgICA8ZGl2PlR3bzwvZGl2PgogICAgPGRpdj5U
aHJlZTwvZGl2PgogICAgPGRpdj5Gb3VyPC9kaXY+CiAgICA8ZGl2PkZpdmU8L2Rpdj4KICAgIDxk
aXY+U2l4PC9kaXY+CiAgICA8ZGl2PlNldmVuPC9kaXY+CiAgICA8ZGl2PkVpZ2h0PC9kaXY+Cjwv
ZGl2Pgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>