Bug 263508 - [text-box-edge] Fix computed values
Summary: [text-box-edge] Fix computed values
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: GoodFirstBug, InRadar
Depends on:
Blocks:
 
Reported: 2023-10-22 01:10 PDT by Tim Nguyen (:ntim)
Modified: 2024-06-27 04:39 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 Tim Nguyen (:ntim) 2023-10-22 01:10:25 PDT
getComputedStyle(element).textBoxEdge will return `leading leading`. However `leading leading` is an invalid value for `text-box-trim`.

The `leading` value needs to be special cased so it only returns the value once.
Comment 1 Radar WebKit Bug Importer 2023-10-29 01:11:12 PDT
<rdar://problem/117643064>
Comment 2 zak ridouh 2024-06-25 16:44:32 PDT
Pull request: https://github.com/WebKit/WebKit/pull/30171
Comment 3 EWS 2024-06-27 04:39:06 PDT
Committed 280413@main (398e5e25e9f2): <https://commits.webkit.org/280413@main>

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