{"action":"created","comment":{"url":"https://api.github.com/repos/whatwg/dom/pulls/comments/48678663","id":48678663,"diff_hunk":"@@ -727,16 +729,15 @@ inherits from the {{Event}} interface.\n \n  <dt><code><var>event</var> . <a method for=Event lt=\"preventDefault()\">preventDefault</a>()</code>\n  <dd>If invoked when the\n- {{Event/cancelable}} attribute value is true,\n+ {{Event/cancelable}} attribute value is true, and while executing a listener\n+ for the <var>event</var> with {{EventListenerOptions/passive}} set to false,\n  signals to the operation that caused <var>event</var> to be\n  <a>dispatched</a> that it needs to be\n  canceled.\n \n  <dt><code><var>event</var> . {{Event/defaultPrevented}}</code>\n  <dd>Returns true if\n- {{Event/preventDefault()}} was invoked\n- while the {{Event/cancelable}} attribute\n- value is true, and false otherwise.\n+ {{Event/preventDefault()}} was used successfully to indicate cancellation.","path":"dom.bs","position":34,"original_position":34,"commit_id":"c01304d08d7b1a5fd98dfa98fb139a1fda4823c3","original_commit_id":"c01304d08d7b1a5fd98dfa98fb139a1fda4823c3","user":{"login":"annevk","id":1544111,"avatar_url":"https://avatars.githubusercontent.com/u/1544111?v=3","gravatar_id":"","url":"https://api.github.com/users/annevk","html_url":"https://github.com/annevk","followers_url":"https://api.github.com/users/annevk/followers","following_url":"https://api.github.com/users/annevk/following{/other_user}","gists_url":"https://api.github.com/users/annevk/gists{/gist_id}","starred_url":"https://api.github.com/users/annevk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annevk/subscriptions","organizations_url":"https://api.github.com/users/annevk/orgs","repos_url":"https://api.github.com/users/annevk/repos","events_url":"https://api.github.com/users/annevk/events{/privacy}","received_events_url":"https://api.github.com/users/annevk/received_events","type":"User","site_admin":false},"body":"(Adding more nitpicky comments. Feel free to ignore for now.) s/used/invoked/ We don't want to omit mentioning when it returns false. The original text did that correctly.","created_at":"2016-01-01T16:25:12Z","updated_at":"2016-01-01T16:25:12Z","html_url":"https://github.com/whatwg/dom/pull/82#discussion_r48678663","pull_request_url":"https://api.github.com/repos/whatwg/dom/pulls/82","_links":{"self":{"href":"https://api.github.com/repos/whatwg/dom/pulls/comments/48678663"},"html":{"href":"https://github.com/whatwg/dom/pull/82#discussion_r48678663"},"pull_request":{"href":"https://api.github.com/repos/whatwg/dom/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/whatwg/dom/pulls/82","id":45683620,"html_url":"https://github.com/whatwg/dom/pull/82","diff_url":"https://github.com/whatwg/dom/pull/82.diff","patch_url":"https://github.com/whatwg/dom/pull/82.patch","issue_url":"https://api.github.com/repos/whatwg/dom/issues/82","number":82,"state":"open","locked":false,"title":"Add EventListenerOptions and passive event listeners","user":{"login":"RByers","id":1280419,"avatar_url":"https://avatars.githubusercontent.com/u/1280419?v=3","gravatar_id":"","url":"https://api.github.com/users/RByers","html_url":"https://github.com/RByers","followers_url":"https://api.github.com/users/RByers/followers","following_url":"https://api.github.com/users/RByers/following{/other_user}","gists_url":"https://api.github.com/users/RByers/gists{/gist_id}","starred_url":"https://api.github.com/users/RByers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RByers/subscriptions","organizations_url":"https://api.github.com/users/RByers/orgs","repos_url":"https://api.github.com/users/RByers/repos","events_url":"https://api.github.com/users/RByers/events{/privacy}","received_events_url":"https://api.github.com/users/RByers/received_events","type":"User","site_admin":false},"body":"My first crack at incorporating the ideas and discussion from my [EventListenerOptions proposal](https://github.com/RByers/EventListenerOptions) into the spec.  The result can be previewed [here](https://rawgit.com/RByers/dom/event-listener-options/dom.html).\r\n\r\nOne thing I'm still not super happy with is the somewhat confusing defaults for `mayCancel`.  On the one hand we [agreed](https://github.com/RByers/EventListenerOptions/issues/17) that we wanted the performance behavior (`mayCancel:false`) the be the default when using the new API form.  But we of course can't [change the existing behavior](https://github.com/RByers/EventListenerOptions/issues/22).  Let's discuss that further [here](https://github.com/RByers/EventListenerOptions/issues/17) if desired.\r\n","created_at":"2015-09-22T16:10:30Z","updated_at":"2016-01-01T16:25:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7085ecd6e096329ad2686fac20af1a268116101f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/whatwg/dom/pulls/82/commits","review_comments_url":"https://api.github.com/repos/whatwg/dom/pulls/82/comments","review_comment_url":"https://api.github.com/repos/whatwg/dom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/whatwg/dom/issues/82/comments","statuses_url":"https://api.github.com/repos/whatwg/dom/statuses/c01304d08d7b1a5fd98dfa98fb139a1fda4823c3","head":{"label":"RByers:event-listener-options","ref":"event-listener-options","sha":"c01304d08d7b1a5fd98dfa98fb139a1fda4823c3","user":{"login":"RByers","id":1280419,"avatar_url":"https://avatars.githubusercontent.com/u/1280419?v=3","gravatar_id":"","url":"https://api.github.com/users/RByers","html_url":"https://github.com/RByers","followers_url":"https://api.github.com/users/RByers/followers","following_url":"https://api.github.com/users/RByers/following{/other_user}","gists_url":"https://api.github.com/users/RByers/gists{/gist_id}","starred_url":"https://api.github.com/users/RByers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RByers/subscriptions","organizations_url":"https://api.github.com/users/RByers/orgs","repos_url":"https://api.github.com/users/RByers/repos","events_url":"https://api.github.com/users/RByers/events{/privacy}","received_events_url":"https://api.github.com/users/RByers/received_events","type":"User","site_admin":false},"repo":{"id":41764987,"name":"dom","full_name":"RByers/dom","owner":{"login":"RByers","id":1280419,"avatar_url":"https://avatars.githubusercontent.com/u/1280419?v=3","gravatar_id":"","url":"https://api.github.com/users/RByers","html_url":"https://github.com/RByers","followers_url":"https://api.github.com/users/RByers/followers","following_url":"https://api.github.com/users/RByers/following{/other_user}","gists_url":"https://api.github.com/users/RByers/gists{/gist_id}","starred_url":"https://api.github.com/users/RByers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RByers/subscriptions","organizations_url":"https://api.github.com/users/RByers/orgs","repos_url":"https://api.github.com/users/RByers/repos","events_url":"https://api.github.com/users/RByers/events{/privacy}","received_events_url":"https://api.github.com/users/RByers/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RByers/dom","description":"DOM Standard","fork":true,"url":"https://api.github.com/repos/RByers/dom","forks_url":"https://api.github.com/repos/RByers/dom/forks","keys_url":"https://api.github.com/repos/RByers/dom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RByers/dom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RByers/dom/teams","hooks_url":"https://api.github.com/repos/RByers/dom/hooks","issue_events_url":"https://api.github.com/repos/RByers/dom/issues/events{/number}","events_url":"https://api.github.com/repos/RByers/dom/events","assignees_url":"https://api.github.com/repos/RByers/dom/assignees{/user}","branches_url":"https://api.github.com/repos/RByers/dom/branches{/branch}","tags_url":"https://api.github.com/repos/RByers/dom/tags","blobs_url":"https://api.github.com/repos/RByers/dom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RByers/dom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RByers/dom/git/refs{/sha}","trees_url":"https://api.github.com/repos/RByers/dom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RByers/dom/statuses/{sha}","languages_url":"https://api.github.com/repos/RByers/dom/languages","stargazers_url":"https://api.github.com/repos/RByers/dom/stargazers","contributors_url":"https://api.github.com/repos/RByers/dom/contributors","subscribers_url":"https://api.github.com/repos/RByers/dom/subscribers","subscription_url":"https://api.github.com/repos/RByers/dom/subscription","commits_url":"https://api.github.com/repos/RByers/dom/commits{/sha}","git_commits_url":"https://api.github.com/repos/RByers/dom/git/commits{/sha}","comments_url":"https://api.github.com/repos/RByers/dom/comments{/number}","issue_comment_url":"https://api.github.com/repos/RByers/dom/issues/comments{/number}","contents_url":"https://api.github.com/repos/RByers/dom/contents/{+path}","compare_url":"https://api.github.com/repos/RByers/dom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RByers/dom/merges","archive_url":"https://api.github.com/repos/RByers/dom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RByers/dom/downloads","issues_url":"https://api.github.com/repos/RByers/dom/issues{/number}","pulls_url":"https://api.github.com/repos/RByers/dom/pulls{/number}","milestones_url":"https://api.github.com/repos/RByers/dom/milestones{/number}","notifications_url":"https://api.github.com/repos/RByers/dom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RByers/dom/labels{/name}","releases_url":"https://api.github.com/repos/RByers/dom/releases{/id}","created_at":"2015-09-01T21:43:10Z","updated_at":"2015-09-01T21:43:11Z","pushed_at":"2015-12-17T18:29:03Z","git_url":"git://github.com/RByers/dom.git","ssh_url":"git@github.com:RByers/dom.git","clone_url":"https://github.com/RByers/dom.git","svn_url":"https://github.com/RByers/dom","homepage":"https://dom.spec.whatwg.org/","size":41857,"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":"cfaf3fa754fe53b1aa1dbe3f948a3272ae71b0e4","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":5581406,"name":"dom","full_name":"whatwg/dom","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/dom","description":"DOM Standard","fork":false,"url":"https://api.github.com/repos/whatwg/dom","forks_url":"https://api.github.com/repos/whatwg/dom/forks","keys_url":"https://api.github.com/repos/whatwg/dom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whatwg/dom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whatwg/dom/teams","hooks_url":"https://api.github.com/repos/whatwg/dom/hooks","issue_events_url":"https://api.github.com/repos/whatwg/dom/issues/events{/number}","events_url":"https://api.github.com/repos/whatwg/dom/events","assignees_url":"https://api.github.com/repos/whatwg/dom/assignees{/user}","branches_url":"https://api.github.com/repos/whatwg/dom/branches{/branch}","tags_url":"https://api.github.com/repos/whatwg/dom/tags","blobs_url":"https://api.github.com/repos/whatwg/dom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whatwg/dom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whatwg/dom/git/refs{/sha}","trees_url":"https://api.github.com/repos/whatwg/dom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whatwg/dom/statuses/{sha}","languages_url":"https://api.github.com/repos/whatwg/dom/languages","stargazers_url":"https://api.github.com/repos/whatwg/dom/stargazers","contributors_url":"https://api.github.com/repos/whatwg/dom/contributors","subscribers_url":"https://api.github.com/repos/whatwg/dom/subscribers","subscription_url":"https://api.github.com/repos/whatwg/dom/subscription","commits_url":"https://api.github.com/repos/whatwg/dom/commits{/sha}","git_commits_url":"https://api.github.com/repos/whatwg/dom/git/commits{/sha}","comments_url":"https://api.github.com/repos/whatwg/dom/comments{/number}","issue_comment_url":"https://api.github.com/repos/whatwg/dom/issues/comments{/number}","contents_url":"https://api.github.com/repos/whatwg/dom/contents/{+path}","compare_url":"https://api.github.com/repos/whatwg/dom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whatwg/dom/merges","archive_url":"https://api.github.com/repos/whatwg/dom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whatwg/dom/downloads","issues_url":"https://api.github.com/repos/whatwg/dom/issues{/number}","pulls_url":"https://api.github.com/repos/whatwg/dom/pulls{/number}","milestones_url":"https://api.github.com/repos/whatwg/dom/milestones{/number}","notifications_url":"https://api.github.com/repos/whatwg/dom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whatwg/dom/labels{/name}","releases_url":"https://api.github.com/repos/whatwg/dom/releases{/id}","created_at":"2012-08-28T05:59:06Z","updated_at":"2015-12-28T09:57:00Z","pushed_at":"2016-01-01T16:21:42Z","git_url":"git://github.com/whatwg/dom.git","ssh_url":"git@github.com:whatwg/dom.git","clone_url":"https://github.com/whatwg/dom.git","svn_url":"https://github.com/whatwg/dom","homepage":"https://dom.spec.whatwg.org/","size":42719,"stargazers_count":128,"watchers_count":128,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":26,"forks":28,"open_issues":26,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/whatwg/dom/pulls/82"},"html":{"href":"https://github.com/whatwg/dom/pull/82"},"issue":{"href":"https://api.github.com/repos/whatwg/dom/issues/82"},"comments":{"href":"https://api.github.com/repos/whatwg/dom/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/whatwg/dom/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/whatwg/dom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/whatwg/dom/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/whatwg/dom/statuses/c01304d08d7b1a5fd98dfa98fb139a1fda4823c3"}}}}