{"action":"created","issue":{"url":"https://api.github.com/repos/WICG/ResizeObserver/issues/19","repository_url":"https://api.github.com/repos/WICG/ResizeObserver","labels_url":"https://api.github.com/repos/WICG/ResizeObserver/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/WICG/ResizeObserver/issues/19/comments","events_url":"https://api.github.com/repos/WICG/ResizeObserver/issues/19/events","html_url":"https://github.com/WICG/ResizeObserver/issues/19","id":176658216,"number":19,"title":"ResizeObserver spec needs clarification on what happens when element changes between block & inline","user":{"login":"dholbert","id":426803,"avatar_url":"https://avatars.githubusercontent.com/u/426803?v=3","gravatar_id":"","url":"https://api.github.com/users/dholbert","html_url":"https://github.com/dholbert","followers_url":"https://api.github.com/users/dholbert/followers","following_url":"https://api.github.com/users/dholbert/following{/other_user}","gists_url":"https://api.github.com/users/dholbert/gists{/gist_id}","starred_url":"https://api.github.com/users/dholbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dholbert/subscriptions","organizations_url":"https://api.github.com/users/dholbert/orgs","repos_url":"https://api.github.com/users/dholbert/repos","events_url":"https://api.github.com/users/dholbert/events{/privacy}","received_events_url":"https://api.github.com/users/dholbert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WICG/ResizeObserver/labels/Question","name":"Question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-09-13T14:38:04Z","updated_at":"2016-09-14T16:14:03Z","closed_at":null,"body":"QUESTION: If a ResizeObserver is registered for a `<div>`, and that `<div>` changes from `display:block` to `display:inline`, should the observer's callback function be invoked for the resulting relayout?  (And if the callback is invoked, what contentRect would be used?)\r\n\r\nI think the answer is \"no\", because when the style change happens, the element becomes a non-replaced inline element, and the spec explicitly says \"observations do not fire for non-replaced inline Elements\".\r\n\r\nOn the other hand, if the element changes from `display:inline` back to `display:block`, then the callback *would* fire, because the element would then be block-level at the time where we're deciding whether to fire the callback.\r\n\r\nThis seems awkwardly asymmetrical, though.  Am I understanding the spec correctly here?"},"comment":{"url":"https://api.github.com/repos/WICG/ResizeObserver/issues/comments/247067207","html_url":"https://github.com/WICG/ResizeObserver/issues/19#issuecomment-247067207","issue_url":"https://api.github.com/repos/WICG/ResizeObserver/issues/19","id":247067207,"user":{"login":"atotic","id":127453,"avatar_url":"https://avatars.githubusercontent.com/u/127453?v=3","gravatar_id":"","url":"https://api.github.com/users/atotic","html_url":"https://github.com/atotic","followers_url":"https://api.github.com/users/atotic/followers","following_url":"https://api.github.com/users/atotic/following{/other_user}","gists_url":"https://api.github.com/users/atotic/gists{/gist_id}","starred_url":"https://api.github.com/users/atotic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atotic/subscriptions","organizations_url":"https://api.github.com/users/atotic/orgs","repos_url":"https://api.github.com/users/atotic/repos","events_url":"https://api.github.com/users/atotic/events{/privacy}","received_events_url":"https://api.github.com/users/atotic/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T16:14:03Z","updated_at":"2016-09-14T16:14:03Z","body":"You guys should have just told me I was being dense, and that inline content rect should be empty. Fix coming up in a minute."}}
{"actor":{"display_login":"atotic"}}