Bug 14054 - Need a spec for TextEvent constructor
Need a spec for TextEvent constructor
Status: RESOLVED LATER
Product: WebAppsWG
Classification: Unclassified
Component: DOM3 Events
unspecified
PC All
: P3 enhancement
: ---
Assigned To: Travis Leithead [MSFT]
public-webapps-bugzilla
: needsReview
Depends on: 14051
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-06 18:44 UTC by Kentaro Hara
Modified: 2012-03-19 19:32 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kentaro Hara 2011-09-06 18:44:25 UTC
Background: We are planning to make all Events constructible. For example,
CustomEvent already has the spec for its constructor
(http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-customevent).

We propose a spec for TextEvent constructor as follows:

[Constructor(DOMString type, optional TextEventInit eventInitDict)]
dictionary TextEventInit : UIEventInit {
  DOMString data;
  unsigned long inputMethod;
  DOMString locale;
}
Comment 1 Kentaro Hara 2011-09-27 13:45:07 UTC
Correction:

[Constructor(DOMString type, optional TextEventInit eventInitDict)]
interface TextEvent : UIEvent {
  ...
}

dictionary TextEventInit : UIEventInit {
  DOMString data;
  unsigned long inputMethod;
  DOMString locale;
}
Comment 2 Travis Leithead [MSFT] 2012-03-08 21:16:48 UTC
Assigning to myself to take action on these open bugs.
Comment 3 Travis Leithead [MSFT] 2012-03-09 01:19:34 UTC
Assigned to me; pri 3 (excluding the tracking bug), and sev: enhancement
Comment 4 Travis Leithead [MSFT] 2012-03-19 19:32:21 UTC
(Resolving dependent bugs based on 14051.)