SVG 2 proporties don’t work with number values
Categories
(Core :: SVG, defect)
Tracking
()
People
(Reporter: gunnar, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:100.0) Gecko/20100101 Firefox/100.0
Steps to reproduce:
No radius given in SVG, but with CSS like circle { r: 1 }
See codepen https://codepen.io/gunnarbittersmann/pen/QWQMKYw
Actual results:
Circle not rendered.
Expected results:
Circle should be rendered, as is with length value circle { r: 1px }
.
Reporter | ||
Comment 1•2 years ago
|
||
This might be the same with other properties which are new with SVG 2 (attributes only before).
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::SVG' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•2 years ago
|
||
There's nothing in https://www.w3.org/TR/SVG2/geometry.html#X and co that says this should work differently to any other css length, so I think Firefox is correct.
Updated•2 years ago
|
Description
•