Bug 249048 - Make RenderText::absoluteQuadsForRange to consider leading/trailing whitespaces
Summary: Make RenderText::absoluteQuadsForRange to consider leading/trailing whitespaces
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-09 15:30 PST by Ahmad Saleem
Modified: 2022-12-10 17:10 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>