{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/9574","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/9574/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/9574/comments","events_url":"https://api.github.com/repos/servo/servo/issues/9574/events","html_url":"https://github.com/servo/servo/issues/9574","id":132249417,"number":9574,"title":"`input.parentNode.oninput` is never called","user":{"login":"Gozala","id":21236,"avatar_url":"https://avatars.githubusercontent.com/u/21236?v=3","gravatar_id":"","url":"https://api.github.com/users/Gozala","html_url":"https://github.com/Gozala","followers_url":"https://api.github.com/users/Gozala/followers","following_url":"https://api.github.com/users/Gozala/following{/other_user}","gists_url":"https://api.github.com/users/Gozala/gists{/gist_id}","starred_url":"https://api.github.com/users/Gozala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gozala/subscriptions","organizations_url":"https://api.github.com/users/Gozala/orgs","repos_url":"https://api.github.com/users/Gozala/repos","events_url":"https://api.github.com/users/Gozala/events{/privacy}","received_events_url":"https://api.github.com/users/Gozala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/A-content/dom","name":"A-content/dom","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/E-easy","name":"E-easy","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-08T20:31:37Z","updated_at":"2016-02-08T20:35:32Z","closed_at":null,"body":"It looks like `input` events do not propagate as they are expected. Here is an example that illustrates the issue:\r\n\r\n```html\r\n<html>\r\n<body>\r\n<input id='input' type=text />\r\n<pre id='output'></pre>\r\n</body>\r\n<script>\r\nconst input = document.querySelector('#input')\r\nconst output = document.querySelector('#output')\r\nconst body = document.body\r\n\r\nconst onEvent =\r\n  event =>\r\n  output.textContent += `${event.currentTarget.tagName} : ${event.type} - ${event.key}\\n`\r\n\r\nbody.onkeydown = onEvent\r\nbody.onkeypress = onEvent\r\nbody.onkeyup = onEvent\r\nbody.oninput = onEvent\r\ninput.onkeydown = onEvent\r\ninput.onkeypress = onEvent\r\ninput.onkeyup = onEvent\r\ninput.oninput = onEvent\r\n</script>\r\n</html>\r\n```\r\n\r\nTyping `s` into input should produce following output:\r\n\r\n```\r\nINPUT : keydown - s\r\nBODY : keydown - s\r\nINPUT : keypress - s\r\nBODY : keypress - s\r\nINPUT : input - undefined\r\nBODY : input - undefined\r\nINPUT : keyup - s\r\nBODY : keyup - s\r\n```\r\n\r\nOn servo it produces following instead:\r\n\r\n```\r\nINPUT : keydown - s\r\nBODY : keydown - s\r\nINPUT : input - undefined\r\nINPUT : keyup - s\r\nBODY : keyup - s\r\n```"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/181557518","html_url":"https://github.com/servo/servo/issues/9574#issuecomment-181557518","issue_url":"https://api.github.com/repos/servo/servo/issues/9574","id":181557518,"user":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T20:35:32Z","updated_at":"2016-02-08T20:35:32Z","body":"This is a straightforward fix to improve conformance with the [specification](https://html.spec.whatwg.org/multipage/forms.html#text-%28type=text%29-state-and-search-state-%28type=search%29:event-input-input)."}}