{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/dom/issues/61","labels_url":"https://api.github.com/repos/whatwg/dom/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/dom/issues/61/comments","events_url":"https://api.github.com/repos/whatwg/dom/issues/61/events","html_url":"https://github.com/whatwg/dom/issues/61","id":98694541,"number":61,"title":"Design base URL change notification system","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T08:14:51Z","updated_at":"2015-08-03T20:41:14Z","closed_at":null,"body":"Per https://www.w3.org/Bugs/Public/show_bug.cgi?id=20976#c6 base URL will become a concept of documents.\r\n\r\nThen we need a way to set the base URL of a document from another specification. When set, this changes the URL of the document and then for each inclusive descendant, in tree order, notifies the node of a base URL change, if the node registered for base URL changes. This allows e.g., `<a>` to correct its URL.\r\n\r\nWe also change adopt to run these base URL change notifications. It's unclear whether they should run before the adoption notification or after, or whether the adoption notification by itself is sufficient. I suspect we want to have both separately so you don't forget any.\r\n\r\n@ajklein @coonsta @smaug---- does this make sense to you?"},"comment":{"url":"https://api.github.com/repos/whatwg/dom/issues/comments/127401277","html_url":"https://github.com/whatwg/dom/issues/61#issuecomment-127401277","issue_url":"https://api.github.com/repos/whatwg/dom/issues/61","id":127401277,"user":{"login":"ajklein","id":1571484,"avatar_url":"https://avatars.githubusercontent.com/u/1571484?v=3","gravatar_id":"","url":"https://api.github.com/users/ajklein","html_url":"https://github.com/ajklein","followers_url":"https://api.github.com/users/ajklein/followers","following_url":"https://api.github.com/users/ajklein/following{/other_user}","gists_url":"https://api.github.com/users/ajklein/gists{/gist_id}","starred_url":"https://api.github.com/users/ajklein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajklein/subscriptions","organizations_url":"https://api.github.com/users/ajklein/orgs","repos_url":"https://api.github.com/users/ajklein/repos","events_url":"https://api.github.com/users/ajklein/events{/privacy}","received_events_url":"https://api.github.com/users/ajklein/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T20:41:14Z","updated_at":"2015-08-03T20:41:14Z","body":"For which elements is notification of a base URL change necessary? Can't elements lazily look at the document's current base URL when returning complete URLs? This is how `<a>` works in Blink, for example. Are there cases where a change of base URL triggers some behavior? I tried this with an `<img>` and saw no re-fetch."}}