[Webkit-unassigned] [Bug 193681] New: rgba() alpha parameter should default to 100% when omitted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 22 13:20:19 PST 2019


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

            Bug ID: 193681
           Summary: rgba() alpha parameter should default to 100% when
                    omitted
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: daytonlowell at me.com

According to the CSS Color Module Level 4 spec, when using rgba() function, if the 4th parameter(alpha) is omitted, it should default to 100%.

Edge and Safari don't currently do this. Tested with Safari Technology Preview 73.
Chrome and Firefox handle it correctly.

Test: https://codepen.io/TehShrike/pen/MLYajK
Spec: https://www.w3.org/TR/css-color-4/#rgb-functions

-- 
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/20190122/03502959/attachment.html>


More information about the webkit-unassigned mailing list