{"action":"opened","issue":{"url":"https://api.github.com/repos/whatwg/html/issues/2116","repository_url":"https://api.github.com/repos/whatwg/html","labels_url":"https://api.github.com/repos/whatwg/html/issues/2116/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/html/issues/2116/comments","events_url":"https://api.github.com/repos/whatwg/html/issues/2116/events","html_url":"https://github.com/whatwg/html/issues/2116","id":192415544,"number":2116,"title":"\"If either the a element has a download attribut...\"","user":{"login":"cdumez","id":995975,"avatar_url":"https://avatars.githubusercontent.com/u/995975?v=3","gravatar_id":"","url":"https://api.github.com/users/cdumez","html_url":"https://github.com/cdumez","followers_url":"https://api.github.com/users/cdumez/followers","following_url":"https://api.github.com/users/cdumez/following{/other_user}","gists_url":"https://api.github.com/users/cdumez/gists{/gist_id}","starred_url":"https://api.github.com/users/cdumez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdumez/subscriptions","organizations_url":"https://api.github.com/users/cdumez/orgs","repos_url":"https://api.github.com/users/cdumez/repos","events_url":"https://api.github.com/users/cdumez/events{/privacy}","received_events_url":"https://api.github.com/users/cdumez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-29T22:06:08Z","updated_at":"2016-11-29T22:06:08Z","closed_at":null,"body":"https://html.spec.whatwg.org/#the-a-element\r\n\r\n> If either the a element has a download attribute and the algorithm is not triggered by user activation; or, if the user has not indicated a specific browsing context for following the link, and the element's target attribute is present, and applying the rules for choosing a browsing context given a browsing context name, using the value of the target attribute as the browsing context name, would result in there not being a chosen browsing context, then run these substeps:​\r\n> \r\n> If there is an entry settings object, throw an \"InvalidAccessError\" DOMException\\.\r\n> \r\n> Abort these steps without following the hyperlink\\.\r\n\r\nBoth Gecko and Blink seem to allow synthetic clicks on anchors that have a download attribute. WebKit used to follow the specification here but it caused compatibility issues. Therefore, we are relaxing the requirements and allowing synthetic clicks:\r\nhttps://bugs.webkit.org/show_bug.cgi?id=165148\r\n\r\nShould we update the specification to match the behavior of existing browsers, especially considering matching the specification (if I understand the specification correctly) seems to break existing Web content."}}
{"actor":{"display_login":"cdumez"}}