{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webcomponents/issues/73","repository_url":"https://api.github.com/repos/w3c/webcomponents","labels_url":"https://api.github.com/repos/w3c/webcomponents/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webcomponents/issues/73/comments","events_url":"https://api.github.com/repos/w3c/webcomponents/issues/73/events","html_url":"https://github.com/w3c/webcomponents/issues/73","id":80454130,"number":73,"title":"Define the timing when distribution happens","user":{"login":"hayatoito","id":160288,"avatar_url":"https://avatars.githubusercontent.com/u/160288?v=3","gravatar_id":"","url":"https://api.github.com/users/hayatoito","html_url":"https://github.com/hayatoito","followers_url":"https://api.github.com/users/hayatoito/followers","following_url":"https://api.github.com/users/hayatoito/following{/other_user}","gists_url":"https://api.github.com/users/hayatoito/gists{/gist_id}","starred_url":"https://api.github.com/users/hayatoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayatoito/subscriptions","organizations_url":"https://api.github.com/users/hayatoito/orgs","repos_url":"https://api.github.com/users/hayatoito/repos","events_url":"https://api.github.com/users/hayatoito/events{/privacy}","received_events_url":"https://api.github.com/users/hayatoito/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/webcomponents/labels/shadow-dom","name":"shadow-dom","color":"207de5"},{"url":"https://api.github.com/repos/w3c/webcomponents/labels/v2","name":"v2","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-25T08:49:11Z","updated_at":"2016-04-19T10:17:48Z","closed_at":"2016-04-19T10:17:48Z","body":"Title: [Shadow]: Specify distribution in terms of event loop (bugzilla: 28443)\n\nMigrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28443\n\n----\ncomment: 0\ncomment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28443#c0\n*Dimitri Glazkov* wrote on 2015-04-08 15:58:31 +0000.\n\nFrom https://lists.w3.org/Archives/Public/public-webapps/2015AprJun/0052.html\n\nCurrently, the spec is not very precise about when distribution happens:\n\n\"If any condition which affects the distribution result changes, the distribution result must be updated before any use of the distribution result.\"\n\nThis results in difficulty for interoperability, as the exact timing of when affects change is hard to reason across browsers.\n\nInstead, it needs to define when exactly the distribution algorithm runs. For example, we could have tied it to the timing of style calculation, because distribution algo always runs before style calculation. \n\nIs the timing of style calculation specified?"},"comment":{"url":"https://api.github.com/repos/w3c/webcomponents/issues/comments/211844770","html_url":"https://github.com/w3c/webcomponents/issues/73#issuecomment-211844770","issue_url":"https://api.github.com/repos/w3c/webcomponents/issues/73","id":211844770,"user":{"login":"hayatoito","id":160288,"avatar_url":"https://avatars.githubusercontent.com/u/160288?v=3","gravatar_id":"","url":"https://api.github.com/users/hayatoito","html_url":"https://github.com/hayatoito","followers_url":"https://api.github.com/users/hayatoito/followers","following_url":"https://api.github.com/users/hayatoito/following{/other_user}","gists_url":"https://api.github.com/users/hayatoito/gists{/gist_id}","starred_url":"https://api.github.com/users/hayatoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayatoito/subscriptions","organizations_url":"https://api.github.com/users/hayatoito/orgs","repos_url":"https://api.github.com/users/hayatoito/repos","events_url":"https://api.github.com/users/hayatoito/events{/privacy}","received_events_url":"https://api.github.com/users/hayatoito/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T10:17:48Z","updated_at":"2016-04-19T10:17:48Z","body":"Yeah, I think we can close this now.\r\n\r\nOne remaining concern is a flat tree. Its client is CSS.\r\n\r\nHowever, as long as the assigned nodes are calculated synchronously in each DOM mutation, we do not need any other timing to define a flat tree because its structure is uniquely decided by the information of the assigned nodes.\r\n\r\n"}}