Created attachment 468716 [details] HTML that shows a too-large text-indent I’ve attached HTML that exhibits this issue. In it, you’ll see a green bar that begins 120 pixels from the left edge of the window. The paragraph above the green bar is affected by a floating element of 100px and has a text indent of 20px. Thus, we’d expect the text to start at the same position as the green bar. In the latest Safari Technology Preview (183) and in Sonoma 14.2b3, the text now starts some distance away from the start of the green bar. This is similar enough to Bug #263698 that I wondered whether that fix also addresses this issue. Sadly, it does not.
Created attachment 468717 [details] HTML rendered using Safari Technology Preview 183, Chrome, and Firefox
I tested in the WebKit nightly builds back to 268549@main (which is the oldest one I could find), and the bug still appears.
Created attachment 468719 [details] HTML rendered in Safari 17.1 and STP 183 I wanted to make it extra clear that this bug is recent: Safari 17.1 works as expected, but Safari Technology Preview 183 is broken.
Thank you for filing this bug. It looks like we indent the inline content twice as much.
<rdar://problem/118701491>
Sadly regressed by a refactoring change (https://commits.webkit.org/267587@main)
Created attachment 468737 [details] [fast-cq]Patch
Committed 271080@main (b741d4c7aa56): <https://commits.webkit.org/271080@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 468737 [details].
Thank you for addressing this bug so quickly. Do you have an idea of when this will be available to users? We're testing the Sonoma 14.2 Release Candidate and still see this in Safari as well as in embedded uses (like Books).