Bug 263508

Summary: [text-box-edge] Fix computed values
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, zakr, zalan
Priority: P2 Keywords: GoodFirstBug, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.