{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular.io/issues/1756","repository_url":"https://api.github.com/repos/angular/angular.io","labels_url":"https://api.github.com/repos/angular/angular.io/issues/1756/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.io/issues/1756/comments","events_url":"https://api.github.com/repos/angular/angular.io/issues/1756/events","html_url":"https://github.com/angular/angular.io/issues/1756","id":162421209,"number":1756,"title":"Documenting the use of foreignObject with document fragments in SVG components","user":{"login":"gionkunz","id":2203704,"avatar_url":"https://avatars.githubusercontent.com/u/2203704?v=3","gravatar_id":"","url":"https://api.github.com/users/gionkunz","html_url":"https://github.com/gionkunz","followers_url":"https://api.github.com/users/gionkunz/followers","following_url":"https://api.github.com/users/gionkunz/following{/other_user}","gists_url":"https://api.github.com/users/gionkunz/gists{/gist_id}","starred_url":"https://api.github.com/users/gionkunz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gionkunz/subscriptions","organizations_url":"https://api.github.com/users/gionkunz/orgs","repos_url":"https://api.github.com/users/gionkunz/repos","events_url":"https://api.github.com/users/gionkunz/events{/privacy}","received_events_url":"https://api.github.com/users/gionkunz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-27T10:32:18Z","updated_at":"2016-06-27T10:52:48Z","closed_at":null,"body":"As part of this PR https://github.com/angular/angular/pull/9458 one can now use document fragments in SVG foreignObject elements within templates. This was previously not possible as the SVG namespace was used to render the HTML document fragment. By explicitly adding the xhtml namespace to the renderer, we can now use it to write document fragments:\r\n\r\n```html\r\n<svg>\r\n  <foreignObject>\r\n    <xhtml:div><p>Test</p></xhtml:div>\r\n  </foreignObject>\r\n</svg>\r\n```\r\n\r\nCheers\r\nGion"},"comment":{"url":"https://api.github.com/repos/angular/angular.io/issues/comments/228713916","html_url":"https://github.com/angular/angular.io/issues/1756#issuecomment-228713916","issue_url":"https://api.github.com/repos/angular/angular.io/issues/1756","id":228713916,"user":{"login":"Foxandxss","id":1087957,"avatar_url":"https://avatars.githubusercontent.com/u/1087957?v=3","gravatar_id":"","url":"https://api.github.com/users/Foxandxss","html_url":"https://github.com/Foxandxss","followers_url":"https://api.github.com/users/Foxandxss/followers","following_url":"https://api.github.com/users/Foxandxss/following{/other_user}","gists_url":"https://api.github.com/users/Foxandxss/gists{/gist_id}","starred_url":"https://api.github.com/users/Foxandxss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Foxandxss/subscriptions","organizations_url":"https://api.github.com/users/Foxandxss/orgs","repos_url":"https://api.github.com/users/Foxandxss/repos","events_url":"https://api.github.com/users/Foxandxss/events{/privacy}","received_events_url":"https://api.github.com/users/Foxandxss/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T10:52:48Z","updated_at":"2016-06-27T10:52:48Z","body":"Thanks, I will write it down and see where we can add that."}}
{"actor":{"display_login":"Foxandxss"}}