Bug 249048

Summary: Make RenderText::absoluteQuadsForRange to consider leading/trailing whitespaces
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2022-12-09 15:30:53 PST
Hi Team,

While going through Blink commits, I came across another where Safari 16.1 is failing test case while Firefox Nightly 109 and Chrome Canary 110 are passing the test:

Failing Test: https://jsfiddle.net/532adrby/show

Blink Commit - https://src.chromium.org/viewvc/blink?revision=200828&view=revision

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/5bb45c7cb923b098864c399395e128beef423901/Source/WebCore/rendering/RenderText.cpp#L490

Just wanted to raise this bug so this can be fixed.

Thanks!
Comment 1 EWS 2022-12-10 17:09:50 PST
Committed 257692@main (8cf3b62f57cc): <https://commits.webkit.org/257692@main>

Reviewed commits have been landed. Closing PR #7437 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2022-12-10 17:10:17 PST
<rdar://problem/103218763>