{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/dom/issues/213","repository_url":"https://api.github.com/repos/whatwg/dom","labels_url":"https://api.github.com/repos/whatwg/dom/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/dom/issues/213/comments","events_url":"https://api.github.com/repos/whatwg/dom/issues/213/events","html_url":"https://github.com/whatwg/dom/pull/213","id":147215711,"number":213,"title":"Change .createElement() namespace to match UAs","user":{"login":"ayg","id":940446,"avatar_url":"https://avatars.githubusercontent.com/u/940446?v=3","gravatar_id":"","url":"https://api.github.com/users/ayg","html_url":"https://github.com/ayg","followers_url":"https://api.github.com/users/ayg/followers","following_url":"https://api.github.com/users/ayg/following{/other_user}","gists_url":"https://api.github.com/users/ayg/gists{/gist_id}","starred_url":"https://api.github.com/users/ayg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayg/subscriptions","organizations_url":"https://api.github.com/users/ayg/orgs","repos_url":"https://api.github.com/users/ayg/repos","events_url":"https://api.github.com/users/ayg/events{/privacy}","received_events_url":"https://api.github.com/users/ayg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-10T11:17:24Z","updated_at":"2016-04-11T14:51:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/whatwg/dom/pulls/213","html_url":"https://github.com/whatwg/dom/pull/213","diff_url":"https://github.com/whatwg/dom/pull/213.diff","patch_url":"https://github.com/whatwg/dom/pull/213.patch"},"body":"Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=19431\r\n\r\nSee comments 12 and 20 there.  Gecko tried switching to the spec's\r\ncurrent wording and immediately had to back out due to extension\r\nbreakage.  It does not seem likely the current spec is implementable."},"comment":{"url":"https://api.github.com/repos/whatwg/dom/issues/comments/208383394","html_url":"https://github.com/whatwg/dom/pull/213#issuecomment-208383394","issue_url":"https://api.github.com/repos/whatwg/dom/issues/213","id":208383394,"user":{"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},"created_at":"2016-04-11T14:51:21Z","updated_at":"2016-04-11T14:51:21Z","body":"This is bizarre, but I guess it's what every browser does. I don't think extension-related breakage is a good reason (extensions are vendor-specific and not part of the web), but if this is what everyone implements that's a good enough reason I guess.\r\n\r\nHere is what Blink does: https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/dom/Document.cpp&q=createElement&sq=package:chromium&l=716 The setting of \"document class flags\" is done pretty far away in the code base, but maybe .contentType is a good enough proxy."}}