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

Add CSS Color 4 gradient options to CanvasGradient #50878

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

Add ColorInterpolationMethod, HueInterpolationMethod and
premultipliedAlpha attributes to CanvasGradient as described here:

whatwg/html#7947

This is done behind the flag CanvasGradientCSSColor4, as spec is not yet
settled:

whatwg/html#10986

Chromestatus: https://chromestatus.com/feature/5168382242193408

I2P thread:
https://groups.google.com/a/chromium.org/g/blink-dev/c/6PhsIK2kxeM

Gradient::ColorInterpolation is also renamed to
Gradient::PremultipliedAlpha, because that's what it is.

Subpixel antialiasing for test labels is being inconsistently applied on
windows, so the tests are marked as failing with a bug.
crbug.com/396344375

Bug: 394052224
Change-Id: I6b1092376d08c051b161f83c82d585bd03cd4131
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6226021
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Aaron Krajeski <aaronhk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1423255}

Add ColorInterpolationMethod, HueInterpolationMethod and
premultipliedAlpha attributes to CanvasGradient as described here:

whatwg/html#7947

This is done behind the flag CanvasGradientCSSColor4, as spec is not yet
settled:

whatwg/html#10986

Chromestatus: https://chromestatus.com/feature/5168382242193408

I2P thread:
https://groups.google.com/a/chromium.org/g/blink-dev/c/6PhsIK2kxeM

Gradient::ColorInterpolation is also renamed to
Gradient::PremultipliedAlpha, because that's what it is.

Subpixel antialiasing for test labels is being inconsistently applied on
windows, so the tests are marked as failing with a bug.
crbug.com/396344375

Bug: 394052224
Change-Id: I6b1092376d08c051b161f83c82d585bd03cd4131
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6226021
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Commit-Queue: Aaron Krajeski <aaronhk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1423255}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit fa9792e into master Feb 21, 2025
17 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-1787a96db8 branch February 21, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants