{"action":"created","comment":{"url":"https://api.github.com/repos/WICG/interventions/pulls/comments/70372336","id":70372336,"diff_hunk":"@@ -0,0 +1,214 @@\n+<!DOCTYPE html>\n+<html>\n+  <head>\n+    <title>Scroll Anchoring</title>\n+    <meta charset='utf-8'>\n+    <script src='https://www.w3.org/Tools/respec/respec-w3c-common'\n+            async class='remove'></script>\n+    <script class='remove'>\n+      var respecConfig = {\n+          specStatus: \"CG-DRAFT\",\n+          shortName: \"scrollAnchoring\",\n+          edDraftURI: \"https://cdn.rawgit.com/ymalik/interventions/master/scroll-anchoring/spec.html\",\n+          testSuiteURI: \"TODO\",\n+          editors: [\n+                {   name:       \"Steve Kobes\",\n+                    url:        \"\",\n+                    company:    \"Google\",\n+                    companyURL: \"https://www.google.com/\" },\n+                {   name:       \"Yash Malik\",\n+                    url:        \"\",\n+                    company:    \"Google\",\n+                    companyURL: \"https://www.google.com/\" },\n+          ],\n+          otherLinks: [{\n+            key: 'Participation',\n+            data: [\n+                {\n+                    value: 'GitHub repository',\n+                    href: 'https://github.com/WICG/interventions/scroll-anchoring/'\n+                }, {\n+                    value: 'Feedback / discussion in the WICG',\n+                    href: 'https://github.com/WICG/interventions/issues/2'\n+                }\n+             ]\n+          }],\n+      };\n+    </script>\n+  </head>\n+  <body>\n+    <section id='abstract'>\n+      <p>\n+        Changes in DOM elements above the visible region of a scroller can result\n+        in the page moving while the user is in the middle of consuming the content.\n+      </p>\n+      <p>\n+        This spec proposes a mechanism to mitigate this jarring user experience by\n+        keeping track of the position of an anchor node and adjusting the scroll\n+        offset accordingly.\n+      </p>\n+      <p>\n+        This spec also proposes an API for web developers to opt-out of this behavior.\n+      </p>\n+    </section>\n+\n+    <section id=\"intro\" class=\"informative\">\n+      <h2>Introduction</h2>\n+      <p>\n+        Today, users of the web are often distracted by content moving around due to\n+        changes that occur outside the viewport.  Examples include script inserting an\n+        iframe containing an ad, or non-sized images loading on a slow network.\n+      </p>\n+      <p>\n+        Historically the browser's default behavior has been to preserve the absolute\n+        scroll position when such changes occur.  This means that to avoid shifting\n+        content, the webpage must take pains to reserve space on the page for anything\n+        that will load later.  In practice, few websites do this consistently.\n+      </p>\n+      <p>\n+        Scroll anchoring aims to minimize surprising content shifts by scrolling to\n+        follow the movement of visible page element.\n+      </p>\n+    </section>\n+    <section>\n+      <h2>Description</h2>\n+      <section dfn-for=\"ScrollAnchoring\">\n+        <p>\n+          Scroll anchoring works by selecting a DOM node (the <b>anchor node</b>) whose","path":"scroll-anchoring/spec.html","position":77,"original_position":77,"commit_id":"94f09ae946d2ba64d02ba1fb5fa1c59b4ef0d36d","original_commit_id":"94f09ae946d2ba64d02ba1fb5fa1c59b4ef0d36d","user":{"login":"marcoscaceres","id":870154,"avatar_url":"https://avatars.githubusercontent.com/u/870154?v=3","gravatar_id":"","url":"https://api.github.com/users/marcoscaceres","html_url":"https://github.com/marcoscaceres","followers_url":"https://api.github.com/users/marcoscaceres/followers","following_url":"https://api.github.com/users/marcoscaceres/following{/other_user}","gists_url":"https://api.github.com/users/marcoscaceres/gists{/gist_id}","starred_url":"https://api.github.com/users/marcoscaceres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcoscaceres/subscriptions","organizations_url":"https://api.github.com/users/marcoscaceres/orgs","repos_url":"https://api.github.com/users/marcoscaceres/repos","events_url":"https://api.github.com/users/marcoscaceres/events{/privacy}","received_events_url":"https://api.github.com/users/marcoscaceres/received_events","type":"User","site_admin":false},"body":"Maybe use `<dfn>` instead of `<b>`, as you are defining what an anchor node is here. ","created_at":"2016-07-12T03:25:25Z","updated_at":"2016-07-12T03:25:25Z","html_url":"https://github.com/WICG/interventions/pull/27#discussion_r70372336","pull_request_url":"https://api.github.com/repos/WICG/interventions/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/WICG/interventions/pulls/comments/70372336"},"html":{"href":"https://github.com/WICG/interventions/pull/27#discussion_r70372336"},"pull_request":{"href":"https://api.github.com/repos/WICG/interventions/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/WICG/interventions/pulls/27","id":77032324,"html_url":"https://github.com/WICG/interventions/pull/27","diff_url":"https://github.com/WICG/interventions/pull/27.diff","patch_url":"https://github.com/WICG/interventions/pull/27.patch","issue_url":"https://api.github.com/repos/WICG/interventions/issues/27","number":27,"state":"open","locked":false,"title":"Initial Spec","user":{"login":"ymalik","id":3052949,"avatar_url":"https://avatars.githubusercontent.com/u/3052949?v=3","gravatar_id":"","url":"https://api.github.com/users/ymalik","html_url":"https://github.com/ymalik","followers_url":"https://api.github.com/users/ymalik/followers","following_url":"https://api.github.com/users/ymalik/following{/other_user}","gists_url":"https://api.github.com/users/ymalik/gists{/gist_id}","starred_url":"https://api.github.com/users/ymalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymalik/subscriptions","organizations_url":"https://api.github.com/users/ymalik/orgs","repos_url":"https://api.github.com/users/ymalik/repos","events_url":"https://api.github.com/users/ymalik/events{/privacy}","received_events_url":"https://api.github.com/users/ymalik/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-11T22:14:22Z","updated_at":"2016-07-12T03:25:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71c14a8ac77ab799243842212700020f7192a7f4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/WICG/interventions/pulls/27/commits","review_comments_url":"https://api.github.com/repos/WICG/interventions/pulls/27/comments","review_comment_url":"https://api.github.com/repos/WICG/interventions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WICG/interventions/issues/27/comments","statuses_url":"https://api.github.com/repos/WICG/interventions/statuses/94f09ae946d2ba64d02ba1fb5fa1c59b4ef0d36d","head":{"label":"ymalik:master","ref":"master","sha":"94f09ae946d2ba64d02ba1fb5fa1c59b4ef0d36d","user":{"login":"ymalik","id":3052949,"avatar_url":"https://avatars.githubusercontent.com/u/3052949?v=3","gravatar_id":"","url":"https://api.github.com/users/ymalik","html_url":"https://github.com/ymalik","followers_url":"https://api.github.com/users/ymalik/followers","following_url":"https://api.github.com/users/ymalik/following{/other_user}","gists_url":"https://api.github.com/users/ymalik/gists{/gist_id}","starred_url":"https://api.github.com/users/ymalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymalik/subscriptions","organizations_url":"https://api.github.com/users/ymalik/orgs","repos_url":"https://api.github.com/users/ymalik/repos","events_url":"https://api.github.com/users/ymalik/events{/privacy}","received_events_url":"https://api.github.com/users/ymalik/received_events","type":"User","site_admin":false},"repo":{"id":62906867,"name":"interventions","full_name":"ymalik/interventions","owner":{"login":"ymalik","id":3052949,"avatar_url":"https://avatars.githubusercontent.com/u/3052949?v=3","gravatar_id":"","url":"https://api.github.com/users/ymalik","html_url":"https://github.com/ymalik","followers_url":"https://api.github.com/users/ymalik/followers","following_url":"https://api.github.com/users/ymalik/following{/other_user}","gists_url":"https://api.github.com/users/ymalik/gists{/gist_id}","starred_url":"https://api.github.com/users/ymalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymalik/subscriptions","organizations_url":"https://api.github.com/users/ymalik/orgs","repos_url":"https://api.github.com/users/ymalik/repos","events_url":"https://api.github.com/users/ymalik/events{/privacy}","received_events_url":"https://api.github.com/users/ymalik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ymalik/interventions","description":"A place for browsers to collaborate on browser interventions.","fork":true,"url":"https://api.github.com/repos/ymalik/interventions","forks_url":"https://api.github.com/repos/ymalik/interventions/forks","keys_url":"https://api.github.com/repos/ymalik/interventions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ymalik/interventions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ymalik/interventions/teams","hooks_url":"https://api.github.com/repos/ymalik/interventions/hooks","issue_events_url":"https://api.github.com/repos/ymalik/interventions/issues/events{/number}","events_url":"https://api.github.com/repos/ymalik/interventions/events","assignees_url":"https://api.github.com/repos/ymalik/interventions/assignees{/user}","branches_url":"https://api.github.com/repos/ymalik/interventions/branches{/branch}","tags_url":"https://api.github.com/repos/ymalik/interventions/tags","blobs_url":"https://api.github.com/repos/ymalik/interventions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ymalik/interventions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ymalik/interventions/git/refs{/sha}","trees_url":"https://api.github.com/repos/ymalik/interventions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ymalik/interventions/statuses/{sha}","languages_url":"https://api.github.com/repos/ymalik/interventions/languages","stargazers_url":"https://api.github.com/repos/ymalik/interventions/stargazers","contributors_url":"https://api.github.com/repos/ymalik/interventions/contributors","subscribers_url":"https://api.github.com/repos/ymalik/interventions/subscribers","subscription_url":"https://api.github.com/repos/ymalik/interventions/subscription","commits_url":"https://api.github.com/repos/ymalik/interventions/commits{/sha}","git_commits_url":"https://api.github.com/repos/ymalik/interventions/git/commits{/sha}","comments_url":"https://api.github.com/repos/ymalik/interventions/comments{/number}","issue_comment_url":"https://api.github.com/repos/ymalik/interventions/issues/comments{/number}","contents_url":"https://api.github.com/repos/ymalik/interventions/contents/{+path}","compare_url":"https://api.github.com/repos/ymalik/interventions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ymalik/interventions/merges","archive_url":"https://api.github.com/repos/ymalik/interventions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ymalik/interventions/downloads","issues_url":"https://api.github.com/repos/ymalik/interventions/issues{/number}","pulls_url":"https://api.github.com/repos/ymalik/interventions/pulls{/number}","milestones_url":"https://api.github.com/repos/ymalik/interventions/milestones{/number}","notifications_url":"https://api.github.com/repos/ymalik/interventions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ymalik/interventions/labels{/name}","releases_url":"https://api.github.com/repos/ymalik/interventions/releases{/id}","deployments_url":"https://api.github.com/repos/ymalik/interventions/deployments","created_at":"2016-07-08T17:51:37Z","updated_at":"2016-07-08T17:51:37Z","pushed_at":"2016-07-08T19:16:30Z","git_url":"git://github.com/ymalik/interventions.git","ssh_url":"git@github.com:ymalik/interventions.git","clone_url":"https://github.com/ymalik/interventions.git","svn_url":"https://github.com/ymalik/interventions","homepage":"","size":14,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"WICG:master","ref":"master","sha":"c95296d4c86158a589231189650ea8e617f2c9b9","user":{"login":"WICG","id":13145324,"avatar_url":"https://avatars.githubusercontent.com/u/13145324?v=3","gravatar_id":"","url":"https://api.github.com/users/WICG","html_url":"https://github.com/WICG","followers_url":"https://api.github.com/users/WICG/followers","following_url":"https://api.github.com/users/WICG/following{/other_user}","gists_url":"https://api.github.com/users/WICG/gists{/gist_id}","starred_url":"https://api.github.com/users/WICG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WICG/subscriptions","organizations_url":"https://api.github.com/users/WICG/orgs","repos_url":"https://api.github.com/users/WICG/repos","events_url":"https://api.github.com/users/WICG/events{/privacy}","received_events_url":"https://api.github.com/users/WICG/received_events","type":"Organization","site_admin":false},"repo":{"id":48208422,"name":"interventions","full_name":"WICG/interventions","owner":{"login":"WICG","id":13145324,"avatar_url":"https://avatars.githubusercontent.com/u/13145324?v=3","gravatar_id":"","url":"https://api.github.com/users/WICG","html_url":"https://github.com/WICG","followers_url":"https://api.github.com/users/WICG/followers","following_url":"https://api.github.com/users/WICG/following{/other_user}","gists_url":"https://api.github.com/users/WICG/gists{/gist_id}","starred_url":"https://api.github.com/users/WICG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WICG/subscriptions","organizations_url":"https://api.github.com/users/WICG/orgs","repos_url":"https://api.github.com/users/WICG/repos","events_url":"https://api.github.com/users/WICG/events{/privacy}","received_events_url":"https://api.github.com/users/WICG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WICG/interventions","description":"A place for browsers to collaborate on browser interventions.","fork":false,"url":"https://api.github.com/repos/WICG/interventions","forks_url":"https://api.github.com/repos/WICG/interventions/forks","keys_url":"https://api.github.com/repos/WICG/interventions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WICG/interventions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WICG/interventions/teams","hooks_url":"https://api.github.com/repos/WICG/interventions/hooks","issue_events_url":"https://api.github.com/repos/WICG/interventions/issues/events{/number}","events_url":"https://api.github.com/repos/WICG/interventions/events","assignees_url":"https://api.github.com/repos/WICG/interventions/assignees{/user}","branches_url":"https://api.github.com/repos/WICG/interventions/branches{/branch}","tags_url":"https://api.github.com/repos/WICG/interventions/tags","blobs_url":"https://api.github.com/repos/WICG/interventions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WICG/interventions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WICG/interventions/git/refs{/sha}","trees_url":"https://api.github.com/repos/WICG/interventions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WICG/interventions/statuses/{sha}","languages_url":"https://api.github.com/repos/WICG/interventions/languages","stargazers_url":"https://api.github.com/repos/WICG/interventions/stargazers","contributors_url":"https://api.github.com/repos/WICG/interventions/contributors","subscribers_url":"https://api.github.com/repos/WICG/interventions/subscribers","subscription_url":"https://api.github.com/repos/WICG/interventions/subscription","commits_url":"https://api.github.com/repos/WICG/interventions/commits{/sha}","git_commits_url":"https://api.github.com/repos/WICG/interventions/git/commits{/sha}","comments_url":"https://api.github.com/repos/WICG/interventions/comments{/number}","issue_comment_url":"https://api.github.com/repos/WICG/interventions/issues/comments{/number}","contents_url":"https://api.github.com/repos/WICG/interventions/contents/{+path}","compare_url":"https://api.github.com/repos/WICG/interventions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WICG/interventions/merges","archive_url":"https://api.github.com/repos/WICG/interventions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WICG/interventions/downloads","issues_url":"https://api.github.com/repos/WICG/interventions/issues{/number}","pulls_url":"https://api.github.com/repos/WICG/interventions/pulls{/number}","milestones_url":"https://api.github.com/repos/WICG/interventions/milestones{/number}","notifications_url":"https://api.github.com/repos/WICG/interventions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WICG/interventions/labels{/name}","releases_url":"https://api.github.com/repos/WICG/interventions/releases{/id}","deployments_url":"https://api.github.com/repos/WICG/interventions/deployments","created_at":"2015-12-18T01:52:00Z","updated_at":"2016-07-02T04:16:38Z","pushed_at":"2016-07-11T22:14:23Z","git_url":"git://github.com/WICG/interventions.git","ssh_url":"git@github.com:WICG/interventions.git","clone_url":"https://github.com/WICG/interventions.git","svn_url":"https://github.com/WICG/interventions","homepage":"","size":10,"stargazers_count":22,"watchers_count":22,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":23,"forks":5,"open_issues":23,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WICG/interventions/pulls/27"},"html":{"href":"https://github.com/WICG/interventions/pull/27"},"issue":{"href":"https://api.github.com/repos/WICG/interventions/issues/27"},"comments":{"href":"https://api.github.com/repos/WICG/interventions/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/WICG/interventions/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/WICG/interventions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WICG/interventions/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/WICG/interventions/statuses/94f09ae946d2ba64d02ba1fb5fa1c59b4ef0d36d"}}}}
{"actor":{"display_login":"marcoscaceres"}}