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

Update early support for CanvasGradient and CanvasPattern #17794

Merged
merged 1 commit into from
Sep 19, 2022

Commits on Sep 14, 2022

  1. Update early support for CanvasGradient and CanvasPattern

    Support for CanvasPattern is implied by support for ctx.createPattern(),
    since that's how a CanvasPattern instance is created. Similarly, support
    for CanvasGradient is implied by support for either
    createLinearGradient() or createRadialGradient().
    
    The support data for CanvasRenderingContext2D looks reliable based on
    the PRs that updated it to the current state:
    mdn#7465
    mdn#8666
    
    Update CanvasGradient and CanvasPattern to match. The versions now match
    for all browsers except Opera, where some ≤12.1 versions were left alone
    rather than trying to confirm the correct versions.
    foolip committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    6395279 View commit details
    Browse the repository at this point in the history