RESOLVED FIXED 193681
rgba() alpha parameter should default to 100% when omitted
https://bugs.webkit.org/show_bug.cgi?id=193681
Summary rgba() alpha parameter should default to 100% when omitted
Dayton Lowell
Reported 2019-01-22 13:20:19 PST
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
Attachments
Simon Fraser (smfr)
Comment 1 2019-01-22 14:17:06 PST
I fixed this in http://trac.webkit.org/r239574. Please test STP 74 when it comes out.
Radar WebKit Bug Importer
Comment 2 2019-01-22 14:18:28 PST
Dayton Lowell
Comment 3 2019-01-22 14:20:08 PST
Thanks Simon!
Dayton Lowell
Comment 4 2019-01-23 14:00:59 PST
Confirmed fixed in STP 74. Thanks again!
Note You need to log in before you can comment on or make changes to this bug.