Bug 230309

Summary: Text is misplaced after selection
Product: WebKit Reporter: Tim Guan-tin Chien [:timdream] <timdream>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, gsnedders, kevin_neal, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
misplaced text after selection
none
Textrun before selection none

Tim Guan-tin Chien [:timdream]
Reported 2021-09-15 09:54:15 PDT
Created attachment 438250 [details] misplaced text after selection STR: 1. Go to https://en.wikipedia.org/wiki/Dune_(2021_film) 2. Scroll down to release date 3. Click on the word "September" thrice Expected: 1. The word "(Venice)" still fits in the same line Actual: 1. It got dropped to the second line upon selection. STP Release 131 (Safari 15.0, WebKit 16612.2.2), macOS 11.5.2 (20G95), 2x dppx screen
Attachments
misplaced text after selection (62.41 KB, image/png)
2021-09-15 09:54 PDT, Tim Guan-tin Chien [:timdream]
no flags
Textrun before selection (55.32 KB, image/png)
2021-09-15 09:54 PDT, Tim Guan-tin Chien [:timdream]
no flags
Tim Guan-tin Chien [:timdream]
Comment 1 2021-09-15 09:54:57 PDT
Created attachment 438251 [details] Textrun before selection
Sam Sneddon [:gsnedders]
Comment 2 2021-09-16 02:39:21 PDT
Presumably another LFC/legacy layout difference, Alan?
zalan
Comment 3 2021-09-16 06:20:01 PDT
It looks like a mismatch in text width vs. available horizontal space where IFC manages to fit the content on the line while legacy does not. Visually the IFC layout looks correct as the content does not look to be overflowing the containing block. I also can't reproduce it on trunk.
Tim Guan-tin Chien [:timdream]
Comment 4 2021-09-16 18:38:14 PDT
It is only reproducible with a specific window size.
Radar WebKit Bug Importer
Comment 5 2021-09-21 10:30:36 PDT
Brent Fulgham
Comment 6 2022-02-12 22:18:46 PST
QA is unable to reproduce the issue.
Note You need to log in before you can comment on or make changes to this bug.