{"action":"closed","number":3690,"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/3690","id":33599415,"html_url":"https://github.com/facebook/react/pull/3690","diff_url":"https://github.com/facebook/react/pull/3690.diff","patch_url":"https://github.com/facebook/react/pull/3690.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/3690","number":3690,"state":"closed","locked":false,"title":"Added support for SVG clipPath element and clip-path attribute","user":{"login":"codesuki","id":5276006,"avatar_url":"https://avatars.githubusercontent.com/u/5276006?v=3","gravatar_id":"","url":"https://api.github.com/users/codesuki","html_url":"https://github.com/codesuki","followers_url":"https://api.github.com/users/codesuki/followers","following_url":"https://api.github.com/users/codesuki/following{/other_user}","gists_url":"https://api.github.com/users/codesuki/gists{/gist_id}","starred_url":"https://api.github.com/users/codesuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesuki/subscriptions","organizations_url":"https://api.github.com/users/codesuki/orgs","repos_url":"https://api.github.com/users/codesuki/repos","events_url":"https://api.github.com/users/codesuki/events{/privacy}","received_events_url":"https://api.github.com/users/codesuki/received_events","type":"User","site_admin":false},"body":"I added the above because I need them in my library: https://github.com/codesuki/react-d3-components\r\nI hope this gets into the next release since the workaround I used so far was very ugly:\r\n\r\nFor the attribute:\r\n```\r\nstyle={{clipPath: `url(#lineClip${this._reactInternalInstance._rootNodeID})`}}\r\n```\r\nFor the element even worse:\r\n```\r\nlet rect = React.renderToString(<rect width={width} height={height}/>);\r\n<g dangerouslySetInnerHTML={{__html: `<defs><clipPath id=\"lineClip${this._reactInternalInstance._rootNodeID}\">${rect}`}}/>\r\n```","created_at":"2015-04-18T09:26:33Z","updated_at":"2015-04-27T22:38:00Z","closed_at":"2015-04-27T22:38:00Z","merged_at":null,"merge_commit_sha":"d073cd58eadc4c9051964606f063339703ff179e","assignee":{"login":"spicyj","id":6820,"avatar_url":"https://avatars.githubusercontent.com/u/6820?v=3","gravatar_id":"","url":"https://api.github.com/users/spicyj","html_url":"https://github.com/spicyj","followers_url":"https://api.github.com/users/spicyj/followers","following_url":"https://api.github.com/users/spicyj/following{/other_user}","gists_url":"https://api.github.com/users/spicyj/gists{/gist_id}","starred_url":"https://api.github.com/users/spicyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spicyj/subscriptions","organizations_url":"https://api.github.com/users/spicyj/orgs","repos_url":"https://api.github.com/users/spicyj/repos","events_url":"https://api.github.com/users/spicyj/events{/privacy}","received_events_url":"https://api.github.com/users/spicyj/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react/pulls/3690/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/3690/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react/issues/3690/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/90241f67a65908283e1869f369569bfc47b20a50","head":{"label":"codesuki:feature/clipPathAttribute","ref":"feature/clipPathAttribute","sha":"90241f67a65908283e1869f369569bfc47b20a50","user":{"login":"codesuki","id":5276006,"avatar_url":"https://avatars.githubusercontent.com/u/5276006?v=3","gravatar_id":"","url":"https://api.github.com/users/codesuki","html_url":"https://github.com/codesuki","followers_url":"https://api.github.com/users/codesuki/followers","following_url":"https://api.github.com/users/codesuki/following{/other_user}","gists_url":"https://api.github.com/users/codesuki/gists{/gist_id}","starred_url":"https://api.github.com/users/codesuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesuki/subscriptions","organizations_url":"https://api.github.com/users/codesuki/orgs","repos_url":"https://api.github.com/users/codesuki/repos","events_url":"https://api.github.com/users/codesuki/events{/privacy}","received_events_url":"https://api.github.com/users/codesuki/received_events","type":"User","site_admin":false},"repo":{"id":34159043,"name":"react","full_name":"codesuki/react","owner":{"login":"codesuki","id":5276006,"avatar_url":"https://avatars.githubusercontent.com/u/5276006?v=3","gravatar_id":"","url":"https://api.github.com/users/codesuki","html_url":"https://github.com/codesuki","followers_url":"https://api.github.com/users/codesuki/followers","following_url":"https://api.github.com/users/codesuki/following{/other_user}","gists_url":"https://api.github.com/users/codesuki/gists{/gist_id}","starred_url":"https://api.github.com/users/codesuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codesuki/subscriptions","organizations_url":"https://api.github.com/users/codesuki/orgs","repos_url":"https://api.github.com/users/codesuki/repos","events_url":"https://api.github.com/users/codesuki/events{/privacy}","received_events_url":"https://api.github.com/users/codesuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codesuki/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":true,"url":"https://api.github.com/repos/codesuki/react","forks_url":"https://api.github.com/repos/codesuki/react/forks","keys_url":"https://api.github.com/repos/codesuki/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codesuki/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codesuki/react/teams","hooks_url":"https://api.github.com/repos/codesuki/react/hooks","issue_events_url":"https://api.github.com/repos/codesuki/react/issues/events{/number}","events_url":"https://api.github.com/repos/codesuki/react/events","assignees_url":"https://api.github.com/repos/codesuki/react/assignees{/user}","branches_url":"https://api.github.com/repos/codesuki/react/branches{/branch}","tags_url":"https://api.github.com/repos/codesuki/react/tags","blobs_url":"https://api.github.com/repos/codesuki/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codesuki/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codesuki/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/codesuki/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codesuki/react/statuses/{sha}","languages_url":"https://api.github.com/repos/codesuki/react/languages","stargazers_url":"https://api.github.com/repos/codesuki/react/stargazers","contributors_url":"https://api.github.com/repos/codesuki/react/contributors","subscribers_url":"https://api.github.com/repos/codesuki/react/subscribers","subscription_url":"https://api.github.com/repos/codesuki/react/subscription","commits_url":"https://api.github.com/repos/codesuki/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/codesuki/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/codesuki/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/codesuki/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/codesuki/react/contents/{+path}","compare_url":"https://api.github.com/repos/codesuki/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codesuki/react/merges","archive_url":"https://api.github.com/repos/codesuki/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codesuki/react/downloads","issues_url":"https://api.github.com/repos/codesuki/react/issues{/number}","pulls_url":"https://api.github.com/repos/codesuki/react/pulls{/number}","milestones_url":"https://api.github.com/repos/codesuki/react/milestones{/number}","notifications_url":"https://api.github.com/repos/codesuki/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codesuki/react/labels{/name}","releases_url":"https://api.github.com/repos/codesuki/react/releases{/id}","created_at":"2015-04-18T08:49:31Z","updated_at":"2015-04-18T08:49:33Z","pushed_at":"2015-04-24T07:58:07Z","git_url":"git://github.com/codesuki/react.git","ssh_url":"git@github.com:codesuki/react.git","clone_url":"https://github.com/codesuki/react.git","svn_url":"https://github.com/codesuki/react","homepage":"http://facebook.github.io/react/","size":54532,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"d9a9f5a0d4a8ab9c57c2f01f8269159e46c2aa4e","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":10270250,"name":"react","full_name":"facebook/react","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":false,"url":"https://api.github.com/repos/facebook/react","forks_url":"https://api.github.com/repos/facebook/react/forks","keys_url":"https://api.github.com/repos/facebook/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react/teams","hooks_url":"https://api.github.com/repos/facebook/react/hooks","issue_events_url":"https://api.github.com/repos/facebook/react/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react/events","assignees_url":"https://api.github.com/repos/facebook/react/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react/tags","blobs_url":"https://api.github.com/repos/facebook/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react/languages","stargazers_url":"https://api.github.com/repos/facebook/react/stargazers","contributors_url":"https://api.github.com/repos/facebook/react/contributors","subscribers_url":"https://api.github.com/repos/facebook/react/subscribers","subscription_url":"https://api.github.com/repos/facebook/react/subscription","commits_url":"https://api.github.com/repos/facebook/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react/merges","archive_url":"https://api.github.com/repos/facebook/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react/downloads","issues_url":"https://api.github.com/repos/facebook/react/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react/releases{/id}","created_at":"2013-05-24T16:15:54Z","updated_at":"2015-04-27T22:37:35Z","pushed_at":"2015-04-27T22:37:35Z","git_url":"git://github.com/facebook/react.git","ssh_url":"git@github.com:facebook/react.git","clone_url":"https://github.com/facebook/react.git","svn_url":"https://github.com/facebook/react","homepage":"https://facebook.github.io/react/","size":92440,"stargazers_count":21111,"watchers_count":21111,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2922,"mirror_url":null,"open_issues_count":520,"forks":2922,"open_issues":520,"watchers":21111,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/3690"},"html":{"href":"https://github.com/facebook/react/pull/3690"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/3690"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/3690/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/3690/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/3690/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/90241f67a65908283e1869f369569bfc47b20a50"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":2,"commits":2,"additions":6,"deletions":2,"changed_files":4}}