Bug 86989
| Summary: | [Feature] Add command and value properties to input and beforeinput events | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | adele, ayg, enrica, morrita |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
The latest editing API specification mentions "command" and "value" IDL attributes on input and beforeinput events.
We should add those so that authors can extract the high-level semantics of beforeinput/input events such as
inserting paragraph, or formatting block with h1.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Hajime Morrita
(In reply to comment #0)
> The latest editing API specification mentions "command" and "value" IDL attributes on input and beforeinput events.
> We should add those so that authors can extract the high-level semantics of beforeinput/input events such as
> inserting paragraph, or formatting block with h1.
Could you drop an URL to the spec?
Ryosuke Niwa
http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#methods-to-query-and-execute-commands