Bug 312671

Summary: Fix incorrect bounding box position for '\n'
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: alan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
[fast-cq]Patch none

Ahmad Saleem
Reported 2026-04-18 02:01:35 PDT
Hi Team, While going through Blink's test, I came across following failing test: Test Case: https://jsfiddle.net/fncrtxLu/ ^ Fails in Safari Technology Preview 241 but passes in Chrome Canary 149 and Firefox Nightly 151. Blink Commit: https://chromium.googlesource.com/chromium/src/+/19d5f8b3d7cd8ba33ba3f2dd331c339384b299dd WebKit Source: https://searchfox.org/wubkat/rev/3ac856a4b4a3bdb261e0d4c239e12d5919bcd266/Source/WebCore/rendering/RenderText.cpp#677 Thanks!
Attachments
Patch (5.45 KB, patch)
2026-04-18 06:00 PDT, alan
no flags
Patch (6.21 KB, patch)
2026-04-20 09:31 PDT, alan
no flags
[fast-cq]Patch (7.24 KB, patch)
2026-04-20 17:21 PDT, alan
no flags
alan
Comment 1 2026-04-18 06:00:19 PDT
alan
Comment 2 2026-04-20 09:31:54 PDT
alan
Comment 3 2026-04-20 17:21:35 PDT
Created attachment 479224 [details] [fast-cq]Patch
EWS
Comment 4 2026-04-21 05:09:56 PDT
Committed 311668@main (41586fb246c3): <https://commits.webkit.org/311668@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 479224 [details].
Radar WebKit Bug Importer
Comment 5 2026-04-21 05:10:14 PDT
Note You need to log in before you can comment on or make changes to this bug.