You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation page in question claims that Safari does not support the method CanvasRenderingContext2D.isPointInPath() with the following syntax:
ctx.isPointInPath(path,x,y[,fillRule]);
How I tested this
After I had a look at the compatibility table which is online right now, I thought it was pretty weird for a browser like Safari not being featuring such a simple method for such a widely used Web API.
I tried then to call isPointInPath() using the unsupported syntax.
I'm sure you already guessed that it worked like a charm.
After that test I went to read the official Safari documentation at developer.apple.com.
Their parameters list doesn't say anything about the second syntax of this method, but it can be found in the method declaration; like this:
I don't know which one is supposed be the correct one, and I don't know why all the other tables I could find about this method in Safari do not mention clearly the second syntax, but what I know is that it works without any issue and that it seems to be fully supported.
Because of the reasons discussed above, I think that Safari's support status for
System info:
The information was incorrect
The documentation page in question claims that Safari does not support the method
CanvasRenderingContext2D.isPointInPath()
with the following syntax:How I tested this
After I had a look at the compatibility table which is online right now, I thought it was pretty weird for a browser like Safari not being featuring such a simple method for such a widely used Web API.
I tried then to call
isPointInPath()
using theunsupportedsyntax.I'm sure you already guessed that it worked like a charm.
After that test I went to read the official Safari documentation at developer.apple.com.
Their parameters list doesn't say anything about the second syntax of this method, but it can be found in the method declaration; like this:
I don't know which one is supposed be the correct one, and I don't know why all the other tables I could find about this method in Safari do not mention clearly the second syntax, but what I know is that it works without any issue and that it seems to be fully supported.
Because of the reasons discussed above, I think that Safari's support status for
should be changed to Full support since v10.0.
MDN page report details
api.CanvasRenderingContext2D.isPointInPath
The text was updated successfully, but these errors were encountered: