Bug 247026 - CSSStyleValue.parse() should throw when passed an empty string as custom property value
Summary: CSSStyleValue.parse() should throw when passed an empty string as custom prop...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 175733
  Show dependency treegraph
 
Reported: 2022-10-25 14:00 PDT by Chris Dumez
Modified: 2022-10-26 07:56 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>