{"action":"closed","issue":{"url":"https://api.github.com/repos/w3c/css-houdini-drafts/issues/20","repository_url":"https://api.github.com/repos/w3c/css-houdini-drafts","labels_url":"https://api.github.com/repos/w3c/css-houdini-drafts/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/w3c/css-houdini-drafts/issues/20/comments","events_url":"https://api.github.com/repos/w3c/css-houdini-drafts/issues/20/events","html_url":"https://github.com/w3c/css-houdini-drafts/issues/20","id":103847837,"number":20,"title":"[css-paint-api] Create PaintRenderingContext2D which is a subset of the CanvasRenderingContext2D.","user":{"login":"bfgeek","id":992712,"avatar_url":"https://avatars.githubusercontent.com/u/992712?v=3","gravatar_id":"","url":"https://api.github.com/users/bfgeek","html_url":"https://github.com/bfgeek","followers_url":"https://api.github.com/users/bfgeek/followers","following_url":"https://api.github.com/users/bfgeek/following{/other_user}","gists_url":"https://api.github.com/users/bfgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/bfgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfgeek/subscriptions","organizations_url":"https://api.github.com/users/bfgeek/orgs","repos_url":"https://api.github.com/users/bfgeek/repos","events_url":"https://api.github.com/users/bfgeek/events{/privacy}","received_events_url":"https://api.github.com/users/bfgeek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/css-houdini-drafts/labels/Paint","name":"Paint","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-29T12:06:43Z","updated_at":"2016-05-04T19:05:42Z","closed_at":"2016-05-04T19:05:42Z","body":"We explicitly don't want some APIs which currently exist on the CanvasRenderingContext2d object.\r\n\r\nSpecifically these APIs:\r\n```\r\npartial interface CanvasRenderingContext2D {\r\n    readonly attribute HTMLCanvasElement canvas;\r\n\r\n    void drawFocusIfNeeded(Element element);\r\n    void drawFocusIfNeeded(Path2D path, Element element);\r\n\r\n    void addHitRegion(optional HitRegionOptions options);\r\n    void removeHitRegion(DOMString id);\r\n    void clearHitRegions();\r\n\r\n    ImageData getImageData(float sx, float sy, float sw, float sh);\r\n};\r\n```"}}