Bug 249479

Summary: Stop allowing numbers during parsing of cx, cy, x, y CSS properties
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-12-16 09:07:32 PST
Stop allowing numbers during parsing of cx, cy, x, y CSS properties.

Per the specification, we should allow <length-percentage>, not <number>:
- https://svgwg.org/svg2-draft/geometry.html#CX
- https://svgwg.org/svg2-draft/geometry.html#CY
- https://svgwg.org/svg2-draft/geometry.html#X
- https://svgwg.org/svg2-draft/geometry.html#Y
Comment 1 Chris Dumez 2022-12-16 09:10:16 PST
Pull request: https://github.com/WebKit/WebKit/pull/7757
Comment 2 EWS 2022-12-16 18:35:44 PST
Committed 258029@main (90112a7d702f): <https://commits.webkit.org/258029@main>

Reviewed commits have been landed. Closing PR #7757 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-12-16 18:36:17 PST
<rdar://problem/103469581>