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
Created attachment 438251 [details] Textrun before selection
Presumably another LFC/legacy layout difference, Alan?
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.
It is only reproducible with a specific window size.
<rdar://problem/83358055>
QA is unable to reproduce the issue.