{"action":"closed","issue":{"url":"https://api.github.com/repos/w3c/css-houdini-drafts/issues/23","labels_url":"https://api.github.com/repos/w3c/css-houdini-drafts/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/w3c/css-houdini-drafts/issues/23/comments","events_url":"https://api.github.com/repos/w3c/css-houdini-drafts/issues/23/events","html_url":"https://github.com/w3c/css-houdini-drafts/issues/23","id":104068112,"number":23,"title":"[css-paint-api] Decide how much information is in the \"Geometry\" passed into a paint function","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/CSS%20Paint","name":"CSS Paint","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-31T14:46:01Z","updated_at":"2016-01-04T17:34:25Z","closed_at":"2016-01-04T17:34:25Z","body":"The most basic information needed is the width and height of the fragment you are currently painting.\r\n\r\nOther information that might be desirable is:\r\nsibling fragment information - for example you want to know your position relative to you siblings so that you can paint an effect that spans multiple fragments.\r\nprevious sibling fragment information only - same as above, but you only receive your previous sibling fragment information.\r\nchildren fragment information - you want to know your children fragments so that you can paint effects like a line between them (or something).\r\n\r\nIt is probably desirable to (upon registering the custom paint class) to decide which type of information here you are interested in. For example invalidating a polyfill of conic-gradient based on children fragment information isn't optimal."}}