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 Safari versions for CanvasRenderingContext2D API #8666

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

queengooborg
Copy link
Collaborator

@queengooborg queengooborg commented Jan 6, 2021

This PR adds real values for Safari (Desktop and iOS/iPadOS) for the CanvasRenderingContext2D API, based upon manual testing.

Test Code Used: var canvas = document.createElement('canvas'); var instance = canvas.getContext('2d'); instance.MEMBER;

This PR adds real values for Safari (Desktop and iOS/iPadOS) for the `CanvasRenderingContext2D` API, based upon manual testing.

Test Code Used: `var canvas = document.createElement('canvas'); var instance = canvas.getContext('2d'); instance.MEMBER;`
@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jan 6, 2021
@foolip foolip merged commit 4b8fd09 into mdn:master Jan 11, 2021
@queengooborg queengooborg deleted the api/CanvasRenderingContext2D-safari branch January 11, 2021 09:14
foolip added a commit to foolip/browser-compat-data that referenced this pull request Sep 14, 2022
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.
queengooborg pushed a commit that referenced this pull request Sep 19, 2022
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:
#7465
#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants