Bug 249479 - Stop allowing numbers during parsing of cx, cy, x, y CSS properties
Summary: Stop allowing numbers during parsing of cx, cy, x, y CSS properties
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-12-16 09:07 PST by Chris Dumez
Modified: 2022-12-16 18:36 PST (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-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>