Bug 257160 - 'textLength' support for 'tspan' elements is incomplete
Summary: 'textLength' support for 'tspan' elements is incomplete
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nikolas Zimmermann
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-05-22 15:36 PDT by Nikolas Zimmermann
Modified: 2023-11-03 16:13 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolas Zimmermann 2023-05-22 15:36:41 PDT
WebKit issue #171805 contained an imported fix from Chromium to properly compute the inter-character spacing (off-by-one). Continue the work to make textLength fully functional on <tspan> elements, in a few edge cases related to whitespace/text chunk handling.
Comment 1 Nikolas Zimmermann 2023-05-22 15:41:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14211
Comment 2 Radar WebKit Bug Importer 2023-05-29 15:37:22 PDT
<rdar://problem/109981392>
Comment 3 EWS 2023-05-30 01:32:39 PDT
Committed 264666@main (a9ba148c1a17): <https://commits.webkit.org/264666@main>

Reviewed commits have been landed. Closing PR #14211 and removing active labels.