{"action":"created","issue":{"url":"https://api.github.com/repos/jquery/jquery/issues/3367","repository_url":"https://api.github.com/repos/jquery/jquery","labels_url":"https://api.github.com/repos/jquery/jquery/issues/3367/labels{/name}","comments_url":"https://api.github.com/repos/jquery/jquery/issues/3367/comments","events_url":"https://api.github.com/repos/jquery/jquery/issues/3367/events","html_url":"https://github.com/jquery/jquery/pull/3367","id":183882875,"number":3367,"title":"Offset: report offset for 0 sized elements","user":{"login":"jbedard","id":89246,"avatar_url":"https://avatars.githubusercontent.com/u/89246?v=3","gravatar_id":"","url":"https://api.github.com/users/jbedard","html_url":"https://github.com/jbedard","followers_url":"https://api.github.com/users/jbedard/followers","following_url":"https://api.github.com/users/jbedard/following{/other_user}","gists_url":"https://api.github.com/users/jbedard/gists{/gist_id}","starred_url":"https://api.github.com/users/jbedard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbedard/subscriptions","organizations_url":"https://api.github.com/users/jbedard/orgs","repos_url":"https://api.github.com/users/jbedard/repos","events_url":"https://api.github.com/users/jbedard/events{/privacy}","received_events_url":"https://api.github.com/users/jbedard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jquery/jquery/labels/CLA:%20Error","name":"CLA: Error","color":"770000"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-19T07:11:51Z","updated_at":"2016-10-19T07:11:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jquery/jquery/pulls/3367","html_url":"https://github.com/jquery/jquery/pull/3367","diff_url":"https://github.com/jquery/jquery/pull/3367.diff","patch_url":"https://github.com/jquery/jquery/pull/3367.patch"},"body":"I assume this previously worked (except IE<=11+ which crashed) before 0e4477c676db0427bb9b0bf39df8631501e62f24.\r\n\r\nAlso previously when `if ( rect.width || rect.height )` failed it would return `rect` which would be the `getBoundingClientRect()` object containing top/bottom/left/right along with the width/height of 0. The top/left in there would probably be quite misleading?\r\n\r\nFixes [gh-3267](https://github.com/jquery/jquery/issues/3167)\r\n\r\n* [ ] All authors have signed the CLA at https://contribute.jquery.com/CLA/\r\n* [ ] New tests have been added to show the fix or feature works\r\n* [ ] Grunt build and unit tests pass locally with these changes\r\n* [ ] If needed, a docs issue/PR was created at https://github.com/jquery/api.jquery.com\r\n"},"comment":{"url":"https://api.github.com/repos/jquery/jquery/issues/comments/254730338","html_url":"https://github.com/jquery/jquery/pull/3367#issuecomment-254730338","issue_url":"https://api.github.com/repos/jquery/jquery/issues/3367","id":254730338,"user":{"login":"mention-bot","id":15710697,"avatar_url":"https://avatars.githubusercontent.com/u/15710697?v=3","gravatar_id":"","url":"https://api.github.com/users/mention-bot","html_url":"https://github.com/mention-bot","followers_url":"https://api.github.com/users/mention-bot/followers","following_url":"https://api.github.com/users/mention-bot/following{/other_user}","gists_url":"https://api.github.com/users/mention-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/mention-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mention-bot/subscriptions","organizations_url":"https://api.github.com/users/mention-bot/orgs","repos_url":"https://api.github.com/users/mention-bot/repos","events_url":"https://api.github.com/users/mention-bot/events{/privacy}","received_events_url":"https://api.github.com/users/mention-bot/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T07:11:52Z","updated_at":"2016-10-19T07:11:52Z","body":"@jbedard, thanks for your PR! By analyzing the history of the files in this pull request, we identified @NekR, @timmywil and @markelog to be potential reviewers."}}
{"actor":{"display_login":"mention-bot"}}