Bug 241074

Summary: Incomplete selection highlight when selection straddles columns in flex-flow: column wrap
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: CLOSED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, bfulgham, mmaxfield, simon.fraser, svillar, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: Mac (Apple Silicon)   
OS: macOS 12   
Attachments:
Description Flags
Test case none

Description mitz 2022-05-28 22:39:39 PDT
Created attachment 459832 [details]
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.
Comment 1 Radar WebKit Bug Importer 2022-06-02 14:19:59 PDT
<rdar://problem/94310080>
Comment 2 Ahmad Saleem 2023-04-20 20:38:29 PDT
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 ***
Comment 3 mitz 2023-04-20 21:05:43 PDT
Thanks for finding the original. Both the test case and the source website behave as expected with the latest shipping Safari on macOS Monterey.