Bug 262532

Summary: Sync 'TextMetrics' to web specification by changing from 'float' to 'double'
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-10-03 03:58:47 PDT
SSIA.

Basically, address this FIXME: https://github.com/WebKit/WebKit/blob/42fe82e162800ff6901b20e3065d591d455159db/Source/WebCore/html/TextMetrics.idl#L29

Web-Spec: https://html.spec.whatwg.org/multipage/canvas.html#textmetrics

NOTE - TextMetrics.h file need to be updated as well beside IDL file to align C++ implementation to use 'double' rather than 'float.

Thanks!
Comment 1 EWS 2023-10-03 09:26:00 PDT
Committed 268786@main (79655bbc8d3b): <https://commits.webkit.org/268786@main>

Reviewed commits have been landed. Closing PR #18544 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2023-10-03 09:26:13 PDT
<rdar://problem/116405383>