Bug 43538 - ontextinput attribute should be recognized for textInput event handler.
Summary: ontextinput attribute should be recognized for textInput event handler.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 42957
  Show dependency treegraph
 
Reported: 2010-08-04 22:21 PDT by Hajime Morrita
Modified: 2024-02-19 11:31 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hajime Morrita 2010-08-04 22:21:19 PDT
We have textInput event implemented but there is no way to write event handlers inline for them.
So we need ontextinput attribute for textInput as oninput attribute for input event.
Comment 1 Tony Chang 2010-08-05 09:24:25 PDT
Morita mentioned that this isn't in the spec, so we should try to get it added to the DOM Level 3 Events spec.  I guess the risk is that some sites may already use this attribute and this would change the meaning of it.  Maybe that's a really small risk (I don't know why a site would use a custom attribute for this).
Comment 2 Ojan Vafai 2010-08-05 16:26:36 PDT
I think this would be part of the HTML5 spec even though the textInput event is specced in DOM3. It's similar to key events, which are specced in DOM3. The on* properties are HTML specific.
Comment 3 Ahmad Saleem 2024-02-17 06:05:12 PST
https://www.w3.org/TR/uievents/#changes-drafts

> The textInput event, originally proposed as a replacement for keypress, was removed in favor of the current beforeinput and input events.

Do we need to do anything? Nothing IMO.
Comment 4 Anne van Kesteren 2024-02-19 11:31:49 PST
Is the textinput event supported in other browsers?