{"action":"created","comment":{"url":"https://api.github.com/repos/whatwg/html/pulls/comments/54045809","id":54045809,"diff_hunk":"@@ -71856,14 +71856,9 @@ END:VCARD</pre>\n   group\">focused area of a control group</span> is removed from that <span>control group</span> in\n   some way (e.g. it stops being a <span>focusable area</span>, it is removed from the DOM, it\n   becomes <span data-x=\"expressly inert control\">expressly inert</span>, etc), and the <span>control\n-  group</span> is still not empty: designate the first non-<span>inert</span> <span data-x=\"focused\n-  area of the control group\">focused area</span> in that <span>control group</span> to be the new\n-  <span>focused area of the control group</span>, if any; if they are all <span>inert</span>, then\n-  designate the first <span data-x=\"focused area of the control group\">focused area</span> in that\n-  <span>control group</span> to be the new <span>focused area of the control group</span> regardless\n-  of <span data-x=\"inert\">inertness</span>. If such a removal instead results in the <span>control\n-  group</span> being empty, then there is simply no longer a <span>focused area of the control\n-  group</span>.</p>\n+  group</span> is still not empty: let the focus blur, and let the <span>sequential focus navigation\n+  starting point</span> be the old focused area if any, or its nearest position if the old focused","path":"source","position":null,"original_position":13,"commit_id":"b52d91c974a1ba60342be679ed7499a071c7a724","original_commit_id":"3b82951355c39470bcea45b8368da4d69945daa6","user":{"login":"TakayoshiKochi","id":4220972,"avatar_url":"https://avatars.githubusercontent.com/u/4220972?v=3","gravatar_id":"","url":"https://api.github.com/users/TakayoshiKochi","html_url":"https://github.com/TakayoshiKochi","followers_url":"https://api.github.com/users/TakayoshiKochi/followers","following_url":"https://api.github.com/users/TakayoshiKochi/following{/other_user}","gists_url":"https://api.github.com/users/TakayoshiKochi/gists{/gist_id}","starred_url":"https://api.github.com/users/TakayoshiKochi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TakayoshiKochi/subscriptions","organizations_url":"https://api.github.com/users/TakayoshiKochi/orgs","repos_url":"https://api.github.com/users/TakayoshiKochi/repos","events_url":"https://api.github.com/users/TakayoshiKochi/events{/privacy}","received_events_url":"https://api.github.com/users/TakayoshiKochi/received_events","type":"User","site_admin":false},"body":"This case states the focused area was removed from the DOM.\r\nSo I tried to mean that `its nearest position` to be a position that is closest to\r\nremoved range in the current DOM tree.\r\n\r\nIn the revised patch I tried to make this optional, and suggested a possible\r\nimplementation.  I'm not sure this is good or bad, to make it like non-normative.\r\nWhat do you think?","created_at":"2016-02-25T03:52:32Z","updated_at":"2016-02-25T03:52:32Z","html_url":"https://github.com/whatwg/html/pull/732#discussion_r54045809","pull_request_url":"https://api.github.com/repos/whatwg/html/pulls/732","_links":{"self":{"href":"https://api.github.com/repos/whatwg/html/pulls/comments/54045809"},"html":{"href":"https://github.com/whatwg/html/pull/732#discussion_r54045809"},"pull_request":{"href":"https://api.github.com/repos/whatwg/html/pulls/732"}}},"pull_request":{"url":"https://api.github.com/repos/whatwg/html/pulls/732","id":60496090,"html_url":"https://github.com/whatwg/html/pull/732","diff_url":"https://github.com/whatwg/html/pull/732.diff","patch_url":"https://github.com/whatwg/html/pull/732.patch","issue_url":"https://api.github.com/repos/whatwg/html/issues/732","number":732,"state":"open","locked":false,"title":"Update focus fixup rule one","user":{"login":"TakayoshiKochi","id":4220972,"avatar_url":"https://avatars.githubusercontent.com/u/4220972?v=3","gravatar_id":"","url":"https://api.github.com/users/TakayoshiKochi","html_url":"https://github.com/TakayoshiKochi","followers_url":"https://api.github.com/users/TakayoshiKochi/followers","following_url":"https://api.github.com/users/TakayoshiKochi/following{/other_user}","gists_url":"https://api.github.com/users/TakayoshiKochi/gists{/gist_id}","starred_url":"https://api.github.com/users/TakayoshiKochi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TakayoshiKochi/subscriptions","organizations_url":"https://api.github.com/users/TakayoshiKochi/orgs","repos_url":"https://api.github.com/users/TakayoshiKochi/repos","events_url":"https://api.github.com/users/TakayoshiKochi/events{/privacy}","received_events_url":"https://api.github.com/users/TakayoshiKochi/received_events","type":"User","site_admin":false},"body":"Chrome used to follow the focus fixup rule one, but the behavior was counter-intuitive\r\nand other browsers (Firefox/Safari) do not follow the rule.\r\n\r\nMake the fixup rule one better aligned to what Firefox/Safari do; when focused area is\r\nremoved, instead of moving the focus to the first focusable area in the control group,\r\nremember the old focused position as a \"focus navigation starting point\" to be used\r\nlater for TAB focus navigation.\r\n\r\nAddresses #704 ","created_at":"2016-02-24T11:43:17Z","updated_at":"2016-02-25T03:52:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2abcebf0c7cbe9f2d7a456056173f2fbc2d3e35","assignee":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/whatwg/html/pulls/732/commits","review_comments_url":"https://api.github.com/repos/whatwg/html/pulls/732/comments","review_comment_url":"https://api.github.com/repos/whatwg/html/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whatwg/html/issues/732/comments","statuses_url":"https://api.github.com/repos/whatwg/html/statuses/b52d91c974a1ba60342be679ed7499a071c7a724","head":{"label":"TakayoshiKochi:focus_fixup_one","ref":"focus_fixup_one","sha":"b52d91c974a1ba60342be679ed7499a071c7a724","user":{"login":"TakayoshiKochi","id":4220972,"avatar_url":"https://avatars.githubusercontent.com/u/4220972?v=3","gravatar_id":"","url":"https://api.github.com/users/TakayoshiKochi","html_url":"https://github.com/TakayoshiKochi","followers_url":"https://api.github.com/users/TakayoshiKochi/followers","following_url":"https://api.github.com/users/TakayoshiKochi/following{/other_user}","gists_url":"https://api.github.com/users/TakayoshiKochi/gists{/gist_id}","starred_url":"https://api.github.com/users/TakayoshiKochi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TakayoshiKochi/subscriptions","organizations_url":"https://api.github.com/users/TakayoshiKochi/orgs","repos_url":"https://api.github.com/users/TakayoshiKochi/repos","events_url":"https://api.github.com/users/TakayoshiKochi/events{/privacy}","received_events_url":"https://api.github.com/users/TakayoshiKochi/received_events","type":"User","site_admin":false},"repo":{"id":52430377,"name":"html","full_name":"TakayoshiKochi/html","owner":{"login":"TakayoshiKochi","id":4220972,"avatar_url":"https://avatars.githubusercontent.com/u/4220972?v=3","gravatar_id":"","url":"https://api.github.com/users/TakayoshiKochi","html_url":"https://github.com/TakayoshiKochi","followers_url":"https://api.github.com/users/TakayoshiKochi/followers","following_url":"https://api.github.com/users/TakayoshiKochi/following{/other_user}","gists_url":"https://api.github.com/users/TakayoshiKochi/gists{/gist_id}","starred_url":"https://api.github.com/users/TakayoshiKochi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TakayoshiKochi/subscriptions","organizations_url":"https://api.github.com/users/TakayoshiKochi/orgs","repos_url":"https://api.github.com/users/TakayoshiKochi/repos","events_url":"https://api.github.com/users/TakayoshiKochi/events{/privacy}","received_events_url":"https://api.github.com/users/TakayoshiKochi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TakayoshiKochi/html","description":"HTML Standard","fork":true,"url":"https://api.github.com/repos/TakayoshiKochi/html","forks_url":"https://api.github.com/repos/TakayoshiKochi/html/forks","keys_url":"https://api.github.com/repos/TakayoshiKochi/html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TakayoshiKochi/html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TakayoshiKochi/html/teams","hooks_url":"https://api.github.com/repos/TakayoshiKochi/html/hooks","issue_events_url":"https://api.github.com/repos/TakayoshiKochi/html/issues/events{/number}","events_url":"https://api.github.com/repos/TakayoshiKochi/html/events","assignees_url":"https://api.github.com/repos/TakayoshiKochi/html/assignees{/user}","branches_url":"https://api.github.com/repos/TakayoshiKochi/html/branches{/branch}","tags_url":"https://api.github.com/repos/TakayoshiKochi/html/tags","blobs_url":"https://api.github.com/repos/TakayoshiKochi/html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TakayoshiKochi/html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TakayoshiKochi/html/git/refs{/sha}","trees_url":"https://api.github.com/repos/TakayoshiKochi/html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TakayoshiKochi/html/statuses/{sha}","languages_url":"https://api.github.com/repos/TakayoshiKochi/html/languages","stargazers_url":"https://api.github.com/repos/TakayoshiKochi/html/stargazers","contributors_url":"https://api.github.com/repos/TakayoshiKochi/html/contributors","subscribers_url":"https://api.github.com/repos/TakayoshiKochi/html/subscribers","subscription_url":"https://api.github.com/repos/TakayoshiKochi/html/subscription","commits_url":"https://api.github.com/repos/TakayoshiKochi/html/commits{/sha}","git_commits_url":"https://api.github.com/repos/TakayoshiKochi/html/git/commits{/sha}","comments_url":"https://api.github.com/repos/TakayoshiKochi/html/comments{/number}","issue_comment_url":"https://api.github.com/repos/TakayoshiKochi/html/issues/comments{/number}","contents_url":"https://api.github.com/repos/TakayoshiKochi/html/contents/{+path}","compare_url":"https://api.github.com/repos/TakayoshiKochi/html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TakayoshiKochi/html/merges","archive_url":"https://api.github.com/repos/TakayoshiKochi/html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TakayoshiKochi/html/downloads","issues_url":"https://api.github.com/repos/TakayoshiKochi/html/issues{/number}","pulls_url":"https://api.github.com/repos/TakayoshiKochi/html/pulls{/number}","milestones_url":"https://api.github.com/repos/TakayoshiKochi/html/milestones{/number}","notifications_url":"https://api.github.com/repos/TakayoshiKochi/html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TakayoshiKochi/html/labels{/name}","releases_url":"https://api.github.com/repos/TakayoshiKochi/html/releases{/id}","deployments_url":"https://api.github.com/repos/TakayoshiKochi/html/deployments","created_at":"2016-02-24T09:30:20Z","updated_at":"2016-02-24T09:30:21Z","pushed_at":"2016-02-25T03:45:46Z","git_url":"git://github.com/TakayoshiKochi/html.git","ssh_url":"git@github.com:TakayoshiKochi/html.git","clone_url":"https://github.com/TakayoshiKochi/html.git","svn_url":"https://github.com/TakayoshiKochi/html","homepage":"https://html.spec.whatwg.org/multipage/","size":106240,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"whatwg:master","ref":"master","sha":"1ee3316caa1a5754f7bbd29c494842785f9a181b","user":{"login":"whatwg","id":2226336,"avatar_url":"https://avatars.githubusercontent.com/u/2226336?v=3","gravatar_id":"","url":"https://api.github.com/users/whatwg","html_url":"https://github.com/whatwg","followers_url":"https://api.github.com/users/whatwg/followers","following_url":"https://api.github.com/users/whatwg/following{/other_user}","gists_url":"https://api.github.com/users/whatwg/gists{/gist_id}","starred_url":"https://api.github.com/users/whatwg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatwg/subscriptions","organizations_url":"https://api.github.com/users/whatwg/orgs","repos_url":"https://api.github.com/users/whatwg/repos","events_url":"https://api.github.com/users/whatwg/events{/privacy}","received_events_url":"https://api.github.com/users/whatwg/received_events","type":"Organization","site_admin":false},"repo":{"id":11969507,"name":"html","full_name":"whatwg/html","owner":{"login":"whatwg","id":2226336,"avatar_url":"https://avatars.githubusercontent.com/u/2226336?v=3","gravatar_id":"","url":"https://api.github.com/users/whatwg","html_url":"https://github.com/whatwg","followers_url":"https://api.github.com/users/whatwg/followers","following_url":"https://api.github.com/users/whatwg/following{/other_user}","gists_url":"https://api.github.com/users/whatwg/gists{/gist_id}","starred_url":"https://api.github.com/users/whatwg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whatwg/subscriptions","organizations_url":"https://api.github.com/users/whatwg/orgs","repos_url":"https://api.github.com/users/whatwg/repos","events_url":"https://api.github.com/users/whatwg/events{/privacy}","received_events_url":"https://api.github.com/users/whatwg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/whatwg/html","description":"HTML Standard","fork":false,"url":"https://api.github.com/repos/whatwg/html","forks_url":"https://api.github.com/repos/whatwg/html/forks","keys_url":"https://api.github.com/repos/whatwg/html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whatwg/html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whatwg/html/teams","hooks_url":"https://api.github.com/repos/whatwg/html/hooks","issue_events_url":"https://api.github.com/repos/whatwg/html/issues/events{/number}","events_url":"https://api.github.com/repos/whatwg/html/events","assignees_url":"https://api.github.com/repos/whatwg/html/assignees{/user}","branches_url":"https://api.github.com/repos/whatwg/html/branches{/branch}","tags_url":"https://api.github.com/repos/whatwg/html/tags","blobs_url":"https://api.github.com/repos/whatwg/html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whatwg/html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whatwg/html/git/refs{/sha}","trees_url":"https://api.github.com/repos/whatwg/html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whatwg/html/statuses/{sha}","languages_url":"https://api.github.com/repos/whatwg/html/languages","stargazers_url":"https://api.github.com/repos/whatwg/html/stargazers","contributors_url":"https://api.github.com/repos/whatwg/html/contributors","subscribers_url":"https://api.github.com/repos/whatwg/html/subscribers","subscription_url":"https://api.github.com/repos/whatwg/html/subscription","commits_url":"https://api.github.com/repos/whatwg/html/commits{/sha}","git_commits_url":"https://api.github.com/repos/whatwg/html/git/commits{/sha}","comments_url":"https://api.github.com/repos/whatwg/html/comments{/number}","issue_comment_url":"https://api.github.com/repos/whatwg/html/issues/comments{/number}","contents_url":"https://api.github.com/repos/whatwg/html/contents/{+path}","compare_url":"https://api.github.com/repos/whatwg/html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whatwg/html/merges","archive_url":"https://api.github.com/repos/whatwg/html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whatwg/html/downloads","issues_url":"https://api.github.com/repos/whatwg/html/issues{/number}","pulls_url":"https://api.github.com/repos/whatwg/html/pulls{/number}","milestones_url":"https://api.github.com/repos/whatwg/html/milestones{/number}","notifications_url":"https://api.github.com/repos/whatwg/html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whatwg/html/labels{/name}","releases_url":"https://api.github.com/repos/whatwg/html/releases{/id}","deployments_url":"https://api.github.com/repos/whatwg/html/deployments","created_at":"2013-08-08T06:26:07Z","updated_at":"2016-02-24T16:10:04Z","pushed_at":"2016-02-25T03:45:47Z","git_url":"git://github.com/whatwg/html.git","ssh_url":"git@github.com:whatwg/html.git","clone_url":"https://github.com/whatwg/html.git","svn_url":"https://github.com/whatwg/html","homepage":"https://html.spec.whatwg.org/multipage/","size":108259,"stargazers_count":487,"watchers_count":487,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":105,"mirror_url":null,"open_issues_count":204,"forks":105,"open_issues":204,"watchers":487,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whatwg/html/pulls/732"},"html":{"href":"https://github.com/whatwg/html/pull/732"},"issue":{"href":"https://api.github.com/repos/whatwg/html/issues/732"},"comments":{"href":"https://api.github.com/repos/whatwg/html/issues/732/comments"},"review_comments":{"href":"https://api.github.com/repos/whatwg/html/pulls/732/comments"},"review_comment":{"href":"https://api.github.com/repos/whatwg/html/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whatwg/html/pulls/732/commits"},"statuses":{"href":"https://api.github.com/repos/whatwg/html/statuses/b52d91c974a1ba60342be679ed7499a071c7a724"}}}}