{"action":"created","issue":{"url":"https://api.github.com/repos/svg/svgo/issues/592","repository_url":"https://api.github.com/repos/svg/svgo","labels_url":"https://api.github.com/repos/svg/svgo/issues/592/labels{/name}","comments_url":"https://api.github.com/repos/svg/svgo/issues/592/comments","events_url":"https://api.github.com/repos/svg/svgo/issues/592/events","html_url":"https://github.com/svg/svgo/pull/592","id":175249847,"number":592,"title":"Add inlineStyles plugin (rewrite of localStyles plugin)","user":{"login":"strarsis","id":9271436,"avatar_url":"https://avatars2.githubusercontent.com/u/9271436?v=3","gravatar_id":"","url":"https://api.github.com/users/strarsis","html_url":"https://github.com/strarsis","followers_url":"https://api.github.com/users/strarsis/followers","following_url":"https://api.github.com/users/strarsis/following{/other_user}","gists_url":"https://api.github.com/users/strarsis/gists{/gist_id}","starred_url":"https://api.github.com/users/strarsis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strarsis/subscriptions","organizations_url":"https://api.github.com/users/strarsis/orgs","repos_url":"https://api.github.com/users/strarsis/repos","events_url":"https://api.github.com/users/strarsis/events{/privacy}","received_events_url":"https://api.github.com/users/strarsis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":65,"created_at":"2016-09-06T13:40:36Z","updated_at":"2017-04-03T23:17:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/svg/svgo/pulls/592","html_url":"https://github.com/svg/svgo/pull/592","diff_url":"https://github.com/svg/svgo/pull/592.diff","patch_url":"https://github.com/svg/svgo/pull/592.patch"},"body":"This pull request adds the inlineStyles plugin for inlining styles, \r\nalso correctly handling selector specificity, cascading, etc and cleaning up matched selectors.\r\n\r\nAdditionally, direct CSS selector support (powered by [css-select](https://github.com/fb55/css-select), [csstree](https://github.com/csstree/csstree) and [csso](https://github.com/css/csso)) is added to the svgo jsAPI \r\nwhich is used by this plugin ([`querySelectorAll(selector)`](https://developer.mozilla.org/en/docs/Web/API/Document/querySelectorAll), [`querySelector(selector)`](https://developer.mozilla.org/en/docs/Web/API/Document/querySelector), [`matches(selector)`](https://developer.mozilla.org/en/docs/Web/API/Element/matches)).\r\nFurthermore, the [CSSStyleDeclaration interface](https://developer.mozilla.org/en/docs/Web/API/CSSStyleDeclaration) is added to svgo jsAPI for handling element styles."},"comment":{"url":"https://api.github.com/repos/svg/svgo/issues/comments/291310183","html_url":"https://github.com/svg/svgo/pull/592#issuecomment-291310183","issue_url":"https://api.github.com/repos/svg/svgo/issues/592","id":291310183,"user":{"login":"strarsis","id":9271436,"avatar_url":"https://avatars2.githubusercontent.com/u/9271436?v=3","gravatar_id":"","url":"https://api.github.com/users/strarsis","html_url":"https://github.com/strarsis","followers_url":"https://api.github.com/users/strarsis/followers","following_url":"https://api.github.com/users/strarsis/following{/other_user}","gists_url":"https://api.github.com/users/strarsis/gists{/gist_id}","starred_url":"https://api.github.com/users/strarsis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strarsis/subscriptions","organizations_url":"https://api.github.com/users/strarsis/orgs","repos_url":"https://api.github.com/users/strarsis/repos","events_url":"https://api.github.com/users/strarsis/events{/privacy}","received_events_url":"https://api.github.com/users/strarsis/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T23:17:23Z","updated_at":"2017-04-03T23:17:23Z","body":"There is a strange issue with the Travis test - the semicolon is removed in the expected test output in this PR branch, but Travis doesn't seem to pick it up, see https://github.com/travis-ci/travis-ci/issues/7563."}}
{"actor":{"display_login":"strarsis"}}