Bug 247140

Summary: Fix how we set fontWeight so that it remains in bounds
Product: WebKit Reporter: Chirag M Shah <chirag_m_shah>
Component: CSSAssignee: Chirag M Shah <chirag_m_shah>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: All   
OS: All   

Chirag M Shah
Reported 2022-10-27 11:09:56 PDT
Currently, fontWeights can 0, which results in a crash due to it not being a valid key for segmentedFontFaceCache (when wrapped inside a FontSelectionRequest). We need to fix that.
Attachments
Chirag M Shah
Comment 1 2022-10-27 11:13:58 PDT
EWS
Comment 2 2022-10-28 17:27:25 PDT
Committed 256123@main (3070b3d704a3): <https://commits.webkit.org/256123@main> Reviewed commits have been landed. Closing PR #5836 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-10-28 17:28:21 PDT
Chirag M Shah
Comment 4 2022-11-04 13:46:08 PDT
Corrected radar: rdar://101705191
Chirag M Shah
Comment 5 2022-11-04 13:47:39 PDT
Chirag M Shah
Comment 6 2022-11-04 13:48:52 PDT
Note You need to log in before you can comment on or make changes to this bug.