Bug 240772 - SVG 2 proporties don’t work with number values
Summary: SVG 2 proporties don’t work with number values
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-22 06:55 PDT by Gunnar Bittersmann
Modified: 2022-05-29 06:56 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gunnar Bittersmann 2022-05-22 06:55:52 PDT
See codepen https://codepen.io/gunnarbittersmann/pen/QWQMKYw

When no radius given in SVG, but with CSS like `circle { r: 1 }`, the circle is not rendered.

It should work with a number value as ist does with a length value like `circle { r: 1px }`.

This might be the same with other properties which are new with SVG 2 (attributes only before).
Comment 1 Radar WebKit Bug Importer 2022-05-29 06:56:12 PDT
<rdar://problem/94088266>