{"action":"created","issue":{"url":"https://api.github.com/repos/whatwg/dom/issues/102","labels_url":"https://api.github.com/repos/whatwg/dom/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/whatwg/dom/issues/102/comments","events_url":"https://api.github.com/repos/whatwg/dom/issues/102/events","html_url":"https://github.com/whatwg/dom/issues/102","id":114495088,"number":102,"title":"Make Attr a Node again","user":{"login":"foolip","id":498917,"avatar_url":"https://avatars.githubusercontent.com/u/498917?v=3","gravatar_id":"","url":"https://api.github.com/users/foolip","html_url":"https://github.com/foolip","followers_url":"https://api.github.com/users/foolip/followers","following_url":"https://api.github.com/users/foolip/following{/other_user}","gists_url":"https://api.github.com/users/foolip/gists{/gist_id}","starred_url":"https://api.github.com/users/foolip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolip/subscriptions","organizations_url":"https://api.github.com/users/foolip/orgs","repos_url":"https://api.github.com/users/foolip/repos","events_url":"https://api.github.com/users/foolip/events{/privacy}","received_events_url":"https://api.github.com/users/foolip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-01T21:41:41Z","updated_at":"2015-11-04T00:44:28Z","closed_at":null,"body":"Attr's child text nodes have been successfully [removed](https://groups.google.com/a/chromium.org/d/msg/blink-dev/4Hg0l42QHH0/H59LyoiJlI4J) in Blink recently, aligning with Gecko and the spec on this point. The big remaining difference is that Attr is not a Node in the spec, and this is a change no browser engine (except Servo) has made yet. I doubt that it's really worth it for the web platform to divorce Attr from Node.\r\n\r\nFirst and foremost, it's not clear that successfully making the change would be of much value. DocumentType is already a weird kind of Node, so any algorithms dealing with nodes already have to deal with a similar case. In implementations, this is a sunk cost.\r\n\r\nA practical issue is that it's hard to measure the risk, as every attribute and method that Attr inherits from Node and EventTarget is a potential problem. Even if that were done, the fact that `instanceof Node` no longer holds true is a risk that cannot be measured.\r\n\r\nAre any implementors interested in attempting the change, and if so when?"},"comment":{"url":"https://api.github.com/repos/whatwg/dom/issues/comments/153535288","html_url":"https://github.com/whatwg/dom/issues/102#issuecomment-153535288","issue_url":"https://api.github.com/repos/whatwg/dom/issues/102","id":153535288,"user":{"login":"bzbarsky","id":1457979,"avatar_url":"https://avatars.githubusercontent.com/u/1457979?v=3","gravatar_id":"","url":"https://api.github.com/users/bzbarsky","html_url":"https://github.com/bzbarsky","followers_url":"https://api.github.com/users/bzbarsky/followers","following_url":"https://api.github.com/users/bzbarsky/following{/other_user}","gists_url":"https://api.github.com/users/bzbarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bzbarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzbarsky/subscriptions","organizations_url":"https://api.github.com/users/bzbarsky/orgs","repos_url":"https://api.github.com/users/bzbarsky/repos","events_url":"https://api.github.com/users/bzbarsky/events{/privacy}","received_events_url":"https://api.github.com/users/bzbarsky/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T00:44:28Z","updated_at":"2015-11-04T00:44:28Z","body":"I'm basically with @smaug.  I agree it's silly, but I'm not convinced that changing this is worth the risks."}}