Bug 249082

Summary: Spanning text nodes test failure for unmatched surrogate pairs
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: annevk, darin, mmaxfield, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
WebKit ToT vs Other Browsers none

Description Ahmad Saleem 2022-12-10 15:32:20 PST
Hi Team,

While going through Blink commit, I came across failure in font handling and I don't know myself on how to fix but Safari 16.1 and STP 159 fail this compared to Chrome Canary 110 and Firefox Nightly 109, hence I wanted to raise this as a bug.

Failing Test Case - https://jsfiddle.net/4c6nfmjk/show

^ In above, for "Spanning text nodes:", it does not show globe similar to "After element.normalize():" and also like other browsers, where both match each other.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/e6cead728d96c209672ebcd68ad1068b4e8f4f46

I just wanted to raise this so this can be fixed.

Thanks!
Comment 1 Radar WebKit Bug Importer 2022-12-17 15:33:16 PST
<rdar://problem/103484921>
Comment 2 Ahmad Saleem 2023-05-05 04:57:57 PDT
Created attachment 466222 [details]
WebKit ToT vs Other Browsers

Reference image to show issue.