NEW 193038
Correctly round-trip alpha=0.3 through rgb() colors
https://bugs.webkit.org/show_bug.cgi?id=193038
Summary Correctly round-trip alpha=0.3 through rgb() colors
Simon Fraser (smfr)
Reported 2018-12-26 12:06:42 PST
We have failures like this: +FAIL Valid percentages should be parsed: rgba(42%, 3%, 50%, 0.3) assert_equals: expected "rgba(107, 8, 128, 0.3)" but got "rgba(107, 8, 128, 0.298039)" We need to round-trip fractional values correctly.
Attachments
Ahmad Saleem
Comment 1 2023-05-27 09:58:54 PDT
(In reply to Simon Fraser (smfr) from comment #0) > We have failures like this: > > +FAIL Valid percentages should be parsed: rgba(42%, 3%, 50%, 0.3) > assert_equals: expected "rgba(107, 8, 128, 0.3)" but got "rgba(107, 8, 128, > 0.298039)" > > We need to round-trip fractional values correctly. I tried to search 'Valid percentages should be parsed:' text in WebKit using SearchFox and I was not able to find this text or related test.
Note You need to log in before you can comment on or make changes to this bug.