{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/364","repository_url":"https://api.github.com/repos/w3c/csswg-drafts","labels_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/364/comments","events_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/364/events","html_url":"https://github.com/w3c/csswg-drafts/issues/364","id":168594954,"number":364,"title":"[css-color-4] backgroundColor","user":{"login":"frivoal","id":113268,"avatar_url":"https://avatars.githubusercontent.com/u/113268?v=3","gravatar_id":"","url":"https://api.github.com/users/frivoal","html_url":"https://github.com/frivoal","followers_url":"https://api.github.com/users/frivoal/followers","following_url":"https://api.github.com/users/frivoal/following{/other_user}","gists_url":"https://api.github.com/users/frivoal/gists{/gist_id}","starred_url":"https://api.github.com/users/frivoal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frivoal/subscriptions","organizations_url":"https://api.github.com/users/frivoal/orgs","repos_url":"https://api.github.com/users/frivoal/repos","events_url":"https://api.github.com/users/frivoal/events{/privacy}","received_events_url":"https://api.github.com/users/frivoal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/csswg-drafts/labels/css-color-4","name":"css-color-4","color":"c5def5"}],"state":"open","locked":false,"assignee":{"login":"tabatkins","id":682840,"avatar_url":"https://avatars.githubusercontent.com/u/682840?v=3","gravatar_id":"","url":"https://api.github.com/users/tabatkins","html_url":"https://github.com/tabatkins","followers_url":"https://api.github.com/users/tabatkins/followers","following_url":"https://api.github.com/users/tabatkins/following{/other_user}","gists_url":"https://api.github.com/users/tabatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tabatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabatkins/subscriptions","organizations_url":"https://api.github.com/users/tabatkins/orgs","repos_url":"https://api.github.com/users/tabatkins/repos","events_url":"https://api.github.com/users/tabatkins/events{/privacy}","received_events_url":"https://api.github.com/users/tabatkins/received_events","type":"User","site_admin":false},"assignees":[{"login":"tabatkins","id":682840,"avatar_url":"https://avatars.githubusercontent.com/u/682840?v=3","gravatar_id":"","url":"https://api.github.com/users/tabatkins","html_url":"https://github.com/tabatkins","followers_url":"https://api.github.com/users/tabatkins/followers","following_url":"https://api.github.com/users/tabatkins/following{/other_user}","gists_url":"https://api.github.com/users/tabatkins/gists{/gist_id}","starred_url":"https://api.github.com/users/tabatkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabatkins/subscriptions","organizations_url":"https://api.github.com/users/tabatkins/orgs","repos_url":"https://api.github.com/users/tabatkins/repos","events_url":"https://api.github.com/users/tabatkins/events{/privacy}","received_events_url":"https://api.github.com/users/tabatkins/received_events","type":"User","site_admin":false},{"login":"svgeesus","id":2506926,"avatar_url":"https://avatars.githubusercontent.com/u/2506926?v=3","gravatar_id":"","url":"https://api.github.com/users/svgeesus","html_url":"https://github.com/svgeesus","followers_url":"https://api.github.com/users/svgeesus/followers","following_url":"https://api.github.com/users/svgeesus/following{/other_user}","gists_url":"https://api.github.com/users/svgeesus/gists{/gist_id}","starred_url":"https://api.github.com/users/svgeesus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svgeesus/subscriptions","organizations_url":"https://api.github.com/users/svgeesus/orgs","repos_url":"https://api.github.com/users/svgeesus/repos","events_url":"https://api.github.com/users/svgeesus/events{/privacy}","received_events_url":"https://api.github.com/users/svgeesus/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-01T08:40:23Z","updated_at":"2016-08-01T09:44:39Z","closed_at":null,"body":"Just as we have `currentColor`, having `backgroundColor` (or `background-color`) would be useful when you're doing effects that depend on the background color, but you don't know what it is (for example when the background color changes in various parts of the document).\r\n\r\nHere's an example which could be solved by having that keyword:\r\n\r\nhttp://jsbin.com/detezeb/edit?css,output\r\n\r\nThe definition, which would parallel that of `currentColor`, would be something like:\r\n\r\n> The keyword ''backgroundColor'' takes its value from the value of the 'background-color' property on the same element. This happens at used-value time, which means that if the value is inherited, it’s inherited as ''backgroundColor'', not as the value of the color property, so descendants will use their own color property to resolve it.\r\n> \r\n> If ''backgroundColor' is used as the value of the background-color property, it instead takes its value from the value of the background-color property on the parent element, or ''transparent'' if there is no parent element."},"comment":{"url":"https://api.github.com/repos/w3c/csswg-drafts/issues/comments/236536291","html_url":"https://github.com/w3c/csswg-drafts/issues/364#issuecomment-236536291","issue_url":"https://api.github.com/repos/w3c/csswg-drafts/issues/364","id":236536291,"user":{"login":"frivoal","id":113268,"avatar_url":"https://avatars.githubusercontent.com/u/113268?v=3","gravatar_id":"","url":"https://api.github.com/users/frivoal","html_url":"https://github.com/frivoal","followers_url":"https://api.github.com/users/frivoal/followers","following_url":"https://api.github.com/users/frivoal/following{/other_user}","gists_url":"https://api.github.com/users/frivoal/gists{/gist_id}","starred_url":"https://api.github.com/users/frivoal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frivoal/subscriptions","organizations_url":"https://api.github.com/users/frivoal/orgs","repos_url":"https://api.github.com/users/frivoal/repos","events_url":"https://api.github.com/users/frivoal/events{/privacy}","received_events_url":"https://api.github.com/users/frivoal/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T09:44:39Z","updated_at":"2016-08-01T09:44:39Z","body":"I don't care all that stongly what it's called: `currentBackgroundColor`, `currentBackground`, `backgroundColor`, `bgColor`, same things with hyphens... All good to me."}}
{"actor":{"display_login":"frivoal"}}