{"action":"created","comment":{"url":"https://api.github.com/repos/svg/svgo/pulls/comments/124272982","pull_request_review_id":46546577,"id":124272982,"diff_hunk":"@@ -0,0 +1,67 @@\n+<?xml version=\"1.0\" standalone=\"no\"?>","path":"test/plugins/inlineStyles.15.svg","position":1,"original_position":1,"commit_id":"a8237a1c79f4a22505c9ecde6191cc712704e4de","original_commit_id":"a8237a1c79f4a22505c9ecde6191cc712704e4de","user":{"login":"alexjlockwood","id":1380747,"avatar_url":"https://avatars3.githubusercontent.com/u/1380747?v=3","gravatar_id":"","url":"https://api.github.com/users/alexjlockwood","html_url":"https://github.com/alexjlockwood","followers_url":"https://api.github.com/users/alexjlockwood/followers","following_url":"https://api.github.com/users/alexjlockwood/following{/other_user}","gists_url":"https://api.github.com/users/alexjlockwood/gists{/gist_id}","starred_url":"https://api.github.com/users/alexjlockwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexjlockwood/subscriptions","organizations_url":"https://api.github.com/users/alexjlockwood/orgs","repos_url":"https://api.github.com/users/alexjlockwood/repos","events_url":"https://api.github.com/users/alexjlockwood/events{/privacy}","received_events_url":"https://api.github.com/users/alexjlockwood/received_events","type":"User","site_admin":false},"body":"FYI, I get some annoying warnings when I run this test. Not sure if it can be avoided.\r\n\r\n```\r\nWARN: 'Warning: Syntax error when trying to select \r\n\r\nhtml /deep/ [hidden]\r\n\r\nWARN: 'Warning: Syntax error when trying to select \r\n\r\nhtml /deep/ [block]\r\n\r\n, skipped. Error details: SyntaxError: Unmatched selector: /deep/ [block]'\r\n```","created_at":"2017-06-27T13:29:45Z","updated_at":"2017-06-27T13:29:45Z","html_url":"https://github.com/svg/svgo/pull/592#discussion_r124272982","pull_request_url":"https://api.github.com/repos/svg/svgo/pulls/592","_links":{"self":{"href":"https://api.github.com/repos/svg/svgo/pulls/comments/124272982"},"html":{"href":"https://github.com/svg/svgo/pull/592#discussion_r124272982"},"pull_request":{"href":"https://api.github.com/repos/svg/svgo/pulls/592"}}},"pull_request":{"url":"https://api.github.com/repos/svg/svgo/pulls/592","id":84124106,"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","issue_url":"https://api.github.com/repos/svg/svgo/issues/592","number":592,"state":"open","locked":false,"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},"body":"This pull request adds the inlineStyles plugin for inlining styles, \r\nalso correctly handling selector specificity, cascading, \r\nadvanced selectors, etc and intelligently 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 svgo which \r\nis 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.\r\nAs little extra, the last unnecessary semicolon of inline styles declarationList is cleaned up.","created_at":"2016-09-06T13:40:36Z","updated_at":"2017-06-27T13:29:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9585ced0c4e2f56cd3420b3164c710bc2e816957","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/svg/svgo/pulls/592/commits","review_comments_url":"https://api.github.com/repos/svg/svgo/pulls/592/comments","review_comment_url":"https://api.github.com/repos/svg/svgo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/svg/svgo/issues/592/comments","statuses_url":"https://api.github.com/repos/svg/svgo/statuses/a8237a1c79f4a22505c9ecde6191cc712704e4de","head":{"label":"strarsis:inlineStyles","ref":"inlineStyles","sha":"a8237a1c79f4a22505c9ecde6191cc712704e4de","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},"repo":{"id":46149938,"name":"svgo","full_name":"strarsis/svgo","owner":{"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},"private":false,"html_url":"https://github.com/strarsis/svgo","description":"Nodejs-based tool for optimizing SVG vector graphics files.","fork":true,"url":"https://api.github.com/repos/strarsis/svgo","forks_url":"https://api.github.com/repos/strarsis/svgo/forks","keys_url":"https://api.github.com/repos/strarsis/svgo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strarsis/svgo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strarsis/svgo/teams","hooks_url":"https://api.github.com/repos/strarsis/svgo/hooks","issue_events_url":"https://api.github.com/repos/strarsis/svgo/issues/events{/number}","events_url":"https://api.github.com/repos/strarsis/svgo/events","assignees_url":"https://api.github.com/repos/strarsis/svgo/assignees{/user}","branches_url":"https://api.github.com/repos/strarsis/svgo/branches{/branch}","tags_url":"https://api.github.com/repos/strarsis/svgo/tags","blobs_url":"https://api.github.com/repos/strarsis/svgo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strarsis/svgo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strarsis/svgo/git/refs{/sha}","trees_url":"https://api.github.com/repos/strarsis/svgo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strarsis/svgo/statuses/{sha}","languages_url":"https://api.github.com/repos/strarsis/svgo/languages","stargazers_url":"https://api.github.com/repos/strarsis/svgo/stargazers","contributors_url":"https://api.github.com/repos/strarsis/svgo/contributors","subscribers_url":"https://api.github.com/repos/strarsis/svgo/subscribers","subscription_url":"https://api.github.com/repos/strarsis/svgo/subscription","commits_url":"https://api.github.com/repos/strarsis/svgo/commits{/sha}","git_commits_url":"https://api.github.com/repos/strarsis/svgo/git/commits{/sha}","comments_url":"https://api.github.com/repos/strarsis/svgo/comments{/number}","issue_comment_url":"https://api.github.com/repos/strarsis/svgo/issues/comments{/number}","contents_url":"https://api.github.com/repos/strarsis/svgo/contents/{+path}","compare_url":"https://api.github.com/repos/strarsis/svgo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strarsis/svgo/merges","archive_url":"https://api.github.com/repos/strarsis/svgo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strarsis/svgo/downloads","issues_url":"https://api.github.com/repos/strarsis/svgo/issues{/number}","pulls_url":"https://api.github.com/repos/strarsis/svgo/pulls{/number}","milestones_url":"https://api.github.com/repos/strarsis/svgo/milestones{/number}","notifications_url":"https://api.github.com/repos/strarsis/svgo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strarsis/svgo/labels{/name}","releases_url":"https://api.github.com/repos/strarsis/svgo/releases{/id}","deployments_url":"https://api.github.com/repos/strarsis/svgo/deployments","created_at":"2015-11-13T22:07:27Z","updated_at":"2016-09-05T15:43:21Z","pushed_at":"2017-06-22T14:30:29Z","git_url":"git://github.com/strarsis/svgo.git","ssh_url":"git@github.com:strarsis/svgo.git","clone_url":"https://github.com/strarsis/svgo.git","svn_url":"https://github.com/strarsis/svgo","homepage":"","size":1426,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"svg:master","ref":"master","sha":"98369def3a25fab2d57d61d0202366f110db20fe","user":{"login":"svg","id":2473585,"avatar_url":"https://avatars3.githubusercontent.com/u/2473585?v=3","gravatar_id":"","url":"https://api.github.com/users/svg","html_url":"https://github.com/svg","followers_url":"https://api.github.com/users/svg/followers","following_url":"https://api.github.com/users/svg/following{/other_user}","gists_url":"https://api.github.com/users/svg/gists{/gist_id}","starred_url":"https://api.github.com/users/svg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svg/subscriptions","organizations_url":"https://api.github.com/users/svg/orgs","repos_url":"https://api.github.com/users/svg/repos","events_url":"https://api.github.com/users/svg/events{/privacy}","received_events_url":"https://api.github.com/users/svg/received_events","type":"Organization","site_admin":false},"repo":{"id":5508088,"name":"svgo","full_name":"svg/svgo","owner":{"login":"svg","id":2473585,"avatar_url":"https://avatars3.githubusercontent.com/u/2473585?v=3","gravatar_id":"","url":"https://api.github.com/users/svg","html_url":"https://github.com/svg","followers_url":"https://api.github.com/users/svg/followers","following_url":"https://api.github.com/users/svg/following{/other_user}","gists_url":"https://api.github.com/users/svg/gists{/gist_id}","starred_url":"https://api.github.com/users/svg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svg/subscriptions","organizations_url":"https://api.github.com/users/svg/orgs","repos_url":"https://api.github.com/users/svg/repos","events_url":"https://api.github.com/users/svg/events{/privacy}","received_events_url":"https://api.github.com/users/svg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/svg/svgo","description":"Nodejs-based tool for optimizing SVG vector graphics files.","fork":false,"url":"https://api.github.com/repos/svg/svgo","forks_url":"https://api.github.com/repos/svg/svgo/forks","keys_url":"https://api.github.com/repos/svg/svgo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svg/svgo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svg/svgo/teams","hooks_url":"https://api.github.com/repos/svg/svgo/hooks","issue_events_url":"https://api.github.com/repos/svg/svgo/issues/events{/number}","events_url":"https://api.github.com/repos/svg/svgo/events","assignees_url":"https://api.github.com/repos/svg/svgo/assignees{/user}","branches_url":"https://api.github.com/repos/svg/svgo/branches{/branch}","tags_url":"https://api.github.com/repos/svg/svgo/tags","blobs_url":"https://api.github.com/repos/svg/svgo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svg/svgo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svg/svgo/git/refs{/sha}","trees_url":"https://api.github.com/repos/svg/svgo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svg/svgo/statuses/{sha}","languages_url":"https://api.github.com/repos/svg/svgo/languages","stargazers_url":"https://api.github.com/repos/svg/svgo/stargazers","contributors_url":"https://api.github.com/repos/svg/svgo/contributors","subscribers_url":"https://api.github.com/repos/svg/svgo/subscribers","subscription_url":"https://api.github.com/repos/svg/svgo/subscription","commits_url":"https://api.github.com/repos/svg/svgo/commits{/sha}","git_commits_url":"https://api.github.com/repos/svg/svgo/git/commits{/sha}","comments_url":"https://api.github.com/repos/svg/svgo/comments{/number}","issue_comment_url":"https://api.github.com/repos/svg/svgo/issues/comments{/number}","contents_url":"https://api.github.com/repos/svg/svgo/contents/{+path}","compare_url":"https://api.github.com/repos/svg/svgo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svg/svgo/merges","archive_url":"https://api.github.com/repos/svg/svgo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svg/svgo/downloads","issues_url":"https://api.github.com/repos/svg/svgo/issues{/number}","pulls_url":"https://api.github.com/repos/svg/svgo/pulls{/number}","milestones_url":"https://api.github.com/repos/svg/svgo/milestones{/number}","notifications_url":"https://api.github.com/repos/svg/svgo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svg/svgo/labels{/name}","releases_url":"https://api.github.com/repos/svg/svgo/releases{/id}","deployments_url":"https://api.github.com/repos/svg/svgo/deployments","created_at":"2012-08-22T10:41:43Z","updated_at":"2017-06-27T10:54:40Z","pushed_at":"2017-06-17T09:31:09Z","git_url":"git://github.com/svg/svgo.git","ssh_url":"git@github.com:svg/svgo.git","clone_url":"https://github.com/svg/svgo.git","svn_url":"https://github.com/svg/svgo","homepage":"","size":1235,"stargazers_count":7303,"watchers_count":7303,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":537,"mirror_url":null,"open_issues_count":119,"forks":537,"open_issues":119,"watchers":7303,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/svg/svgo/pulls/592"},"html":{"href":"https://github.com/svg/svgo/pull/592"},"issue":{"href":"https://api.github.com/repos/svg/svgo/issues/592"},"comments":{"href":"https://api.github.com/repos/svg/svgo/issues/592/comments"},"review_comments":{"href":"https://api.github.com/repos/svg/svgo/pulls/592/comments"},"review_comment":{"href":"https://api.github.com/repos/svg/svgo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/svg/svgo/pulls/592/commits"},"statuses":{"href":"https://api.github.com/repos/svg/svgo/statuses/a8237a1c79f4a22505c9ecde6191cc712704e4de"}}}}
{"actor":{"display_login":"alexjlockwood"}}