Bug 250332

Summary: font-face src list parser fails too early
Product: WebKit Reporter: Vitor Roriz <vitor.roriz>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Vitor Roriz 2023-01-09 11:36:33 PST
If one component of the list fails we should not immediately fail the parsing of font src, since one valid component will validate the descriptor.

Example: https://github.com/web-platform-tests/wpt/blob/e9470cde64/css/css-fonts/parsing/font-face-src-list.html

"A component with a parse error does not invalidate the entire descriptor if there's some other valid component present."
Comment 1 Radar WebKit Bug Importer 2023-01-09 11:36:47 PST
<rdar://problem/104039050>
Comment 2 Vitor Roriz 2023-01-09 11:40:54 PST
Pull request: https://github.com/WebKit/WebKit/pull/8409
Comment 3 EWS 2023-01-10 15:44:05 PST
Committed 258749@main (6782d34ec7c6): <https://commits.webkit.org/258749@main>

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