This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Web authors need a way to detect whether or not different canvas contexts are supported. Currently authors do this by calling <canvas>.getContext, but this can be very expensive. Dean proposed adding a supportsContext method in http://lists.w3.org/Archives/Public/public-html/2012Sep/0119.html Ian added <canvas>.supportsContext in r7482 of the WHATWG spec: http://html5.org/r/7482 https://github.com/w3c/html/commit/6e1081a860afd08e6aa0329032c9cf4106760a27 The work to implement <canvas>.supportsContext in WebKit is being tracked in https://bugs.webkit.org/show_bug.cgi?id=70117 We should consider pulling this in for HTML5.
Assigning to Silvia since the change has been made on the WHATWG side of things.
See also https://github.com/w3c/html/commit/90c0786311cd92d5a4fd1c546e6a8a766c6d3b2c
staged in https://github.com/w3c/html/compare/master...feature;whatwg_patches_week43_2012
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the Editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the Tracker Issue; or you may create a Tracker Issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy-v2.html Status: Accepted Change Description: https://github.com/w3c/html/commit/6e1081a860afd08e6aa0329032c9cf4106760a27 https://github.com/w3c/html/commit/90c0786311cd92d5a4fd1c546e6a8a766c6d3b2c Rationale: adopted resolution by WHATWG