Bug 193038
Summary: | Correctly round-trip alpha=0.3 through rgb() colors | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | ahmad.saleem792 |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=192321 https://bugs.webkit.org/show_bug.cgi?id=193039 |
Simon Fraser (smfr)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
(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.