Closed
Bug 1832729
Opened 2 years ago
Closed 2 years ago
Empty svg path is invalid
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
115 Branch
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: boris, Assigned: boris)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
path("")
should be invalid, per spec issue: https://github.com/w3c/fxtf-drafts/issues/392.
So we have to update the tests:
https://searchfox.org/mozilla-central/rev/ee6ab6eb2d222e0004604de62206baa67cac33af/testing/web-platform/tests/css/motion/parsing/offset-path-parsing-valid.html#46-47
Assignee | ||
Updated•2 years ago
|
Component: Layout → CSS Parsing and Computation
Assignee | ||
Comment 1•2 years ago
|
||
Per CSS shape spec, the empty path string is invalid. However, for SVG
d property, the EBNF allows the path data string in the d property to be
empty. We just disable the rendering of the path.
Note: only offset-path and clip-path are affected.
Updated•2 years ago
|
Assignee: nobody → boris.chiou
Status: NEW → ASSIGNED
Pushed by bchiou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1f1ef5671719
Reject empty svg path string for basic shape path function. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40067 for changes under testing/web-platform/tests
Comment 4•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•