Bug 197556 - CSS conic-gradient Does Not Render All Colour Parameters
Summary: CSS conic-gradient Does Not Render All Colour Parameters
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified macOS 10.14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-05-03 03:11 PDT by Reuben
Modified: 2019-05-03 12:00 PDT (History)
4 users (show)

See Also:


Attachments
Safari Left; Chrome Right - showing inaccurate blends between colours (97.93 KB, image/png)
2019-05-03 03:11 PDT, Reuben
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben 2019-05-03 03:11:13 PDT
Created attachment 368920 [details]
Safari Left; Chrome Right - showing inaccurate blends between colours

When setting 'background: conic-gradient(#f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00)', the gradient is not rendered correctly. This can be seen between green (#0f0) and blue (#00f), where there should be the colour #0ff. In Chrome this is clearly visible, and confirmed rgb(1, 255, 255) ≈ the correct value of rgb(0, 255, 255). In Safari (both the latest Technology Preview, and iOS 12.2 16E227) #0ff is not rendered, nor any approximately accurate colour. The same seems to occur throughout the conic-gradient.
Comment 1 Radar WebKit Bug Importer 2019-05-03 10:16:45 PDT
<rdar://problem/50447829>
Comment 2 Reuben 2019-05-03 10:28:26 PDT
https://codepen.io/reubn/full/ZNzLoR
Comment 3 Simon Fraser (smfr) 2019-05-03 12:00:26 PDT
This is a bug in a framework below WebKit.