Allow time values without a leading `0` in SVG/SMIL time attributes (begin/dur/end)
Categories
(Core :: SVG, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: dholbert, Assigned: longsonr)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Spinning this off from bug 1806276 comment 19.
STR:
- Load this animated SVG:
https://bug1806276.bmoattachments.org/attachment.cgi?id=9326270
EXPECTED RESULTS: Smooth animation
ACTUAL RESULTS: Weird-looking jumpy animation.
longsonr diagnosed this as us (correctly) rejecting some values in the begin
attribute for some animations in this SVG, because they're fracitonal and they lack a leading 0
.
Chromium and WebKit don't require a leading 0 for fractional time values in SVG dur
, begin
, etc. longsonr filed a spec-issue 5 years ago to propose that we update the spec to allow such values, in https://github.com/w3c/svgwg/issues/394 . It seems like nobody's opposed there, though the spec edit hasn't happened yet (there are some grammar subteties to sort out).
I think we could just go ahead and implement a fix of some sort on our end, though, to avoid being uniquely hit by rendering issues where we're technically correct but uniquely-affected like in bug 1806276 comment 19.
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Backed out as requested.
Backout link: https://hg.mozilla.org/integration/autoland/rev/99aac76d900a21d764a3306632ab0d55b4f4a3c9
Comment 5•2 years ago
|
||
bugherder |
Comment 6•2 years ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/99aac76d900a
Assignee | ||
Comment 7•2 years ago
|
||
Comment 9•2 years ago
|
||
bugherder |
Description
•