[Webkit-unassigned] [Bug 207439] New: conic-gradient() incorrectly accepts unitless zero angles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 9 06:32:11 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=207439

            Bug ID: 207439
           Summary: conic-gradient() incorrectly accepts unitless zero
                    angles
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: emilio at crisal.io
                CC: koivisto at iki.fi, simon.fraser at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200209/6eab98f4/attachment-0001.htm>


More information about the webkit-unassigned mailing list