[Webkit-unassigned] [Bug 272579] Different font-weight leads to different color in text. different in Chrome/Safari.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 18 13:12:51 PDT 2024


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

--- Comment #6 from tableau.scenes-0g at icloud.com ---
Copying context from duplicate:

Text colors with opacity are being rendered differently on Safari vs Chrome/FF when the text has:

1) a custom font
2) a weight above 500 that is not declared in the font-face
3) a color that contains an opacity (e.g. rgba(), hsla(), color-mix, etc)

Please see "opacity" attachment.

If you look at the hex values of the 10% and 20% in `rgba` vs `opacity` approaches, you can see that the problem is solely with the opacity:

%     rgba       opacity
10%   A6 (166)   E5 (229)  [255*.9 = 229.5]
20%   68 (104)   CC (204)  [255*.8 = 204]

-- 
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/20240618/ae983b4e/attachment.htm>


More information about the webkit-unassigned mailing list