Bug 247026

Summary: CSSStyleValue.parse() should throw when passed an empty string as custom property value
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 175733    

Description Chris Dumez 2022-10-25 14:00:14 PDT
CSSStyleValue.parse() / CSSStyleValue.parseAll() should throw when passed an empty string as custom property value.
This matches Blink's behavior and this behavior is covered by WPT tests.
Comment 1 Chris Dumez 2022-10-25 14:02:43 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5775
Comment 2 EWS 2022-10-26 07:55:54 PDT
Committed 256011@main (98e13fd6a1c2): <https://commits.webkit.org/256011@main>

Reviewed commits have been landed. Closing PR #5775 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-10-26 07:56:22 PDT
<rdar://problem/101588781>