Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-images-4] Add the use of “longer” hue interpolation for the color wheel in the example #11755

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yisibl
Copy link
Contributor

@yisibl yisibl commented Feb 20, 2025

Fix #1222

@yisibl yisibl force-pushed the add-hue-interpolation-demo branch from a75f3e6 to 977edc9 Compare February 20, 2025 14:23
@yisibl
Copy link
Contributor Author

yisibl commented Feb 20, 2025

@tabatkins @LeaVerou PTAL

@w3cbot
Copy link

w3cbot commented Feb 20, 2025

yisibl marked as non substantive for IPR from ash-nazg.

width: 200px; height: 200px;
</pre>

<img src="images/conic5.png" alt="color wheel">
Copy link
Contributor Author

@yisibl yisibl Feb 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some differences between the current image (left) and the CSS rendering(Chrome 133), should we update the image?

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we should.

The rendering in Firefox (on Win, at least) also shows a rendering bug, but that is a separate issue

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@svgeesus You wrote:

The rendering in Firefox (on Win, at least) also shows a rendering bug, but that is a separate issue

It looks OK to me on my Windows machine. Could you clarify what rendering bug you're seeing, please? (Or file a bug at https://bugzilla.mozilla.org with details.) Thanks!

Copy link
Contributor

@svgeesus svgeesus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you could add that image to the PR (separate filename, in case it is also used elsewhere) that would be helpful.

width: 200px; height: 200px;
</pre>

<img src="images/conic5.png" alt="color wheel">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we should.

The rendering in Firefox (on Win, at least) also shows a rendering bug, but that is a separate issue

<pre class=lang-css>
background: radial-gradient(closest-side, gray, transparent),
conic-gradient(in hsl longer hue, red 0 100%);
transform: scaleX(-1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is weird, we should just flip the image instead and go with a standard rainbow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[css-images-4] Conic Gradient "color wheel" example is backwards
6 participants