WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
207439
conic-gradient() incorrectly accepts unitless zero angles
https://bugs.webkit.org/show_bug.cgi?id=207439
Summary
conic-gradient() incorrectly accepts unitless zero angles
Emilio Cobos Álvarez (:emilio)
Reported
2020-02-09 06:32:11 PST
Safari accepts `document.body.style.backgroundImage = "conic-gradient(yellow 0, blue 360deg)"` and so on. I think that's invalid per spec. I don't see anything in
https://drafts.csswg.org/css-images-4/#funcdef-conic-gradient
which would say that zero is a valid angle value in this context. See
https://bugs.chromium.org/p/chromium/issues/detail?id=1050395
too.
Attachments
Add attachment
proposed patch, testcase, etc.
Emilio Cobos Álvarez (:emilio)
Comment 1
2020-02-09 06:36:51 PST
Err, apparently
https://drafts.csswg.org/css-images-4/#valdef-conic-gradient-angle
does mention unitless zero. Oh well, kinda unfortunate.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug