Bug 262532 - Sync 'TextMetrics' to web specification by changing from 'float' to 'double'
Summary: Sync 'TextMetrics' to web specification by changing from 'float' to 'double'
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-03 03:58 PDT by Ahmad Saleem
Modified: 2023-10-03 09:26 PDT (History)
1 user (show)

See Also:


Attachments

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