This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14054 - Need a spec for TextEvent constructor
Summary: Need a spec for TextEvent constructor
Status: RESOLVED LATER
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - DOM3 Events (show other bugs)
Version: unspecified
Hardware: PC All
: P3 enhancement
Target Milestone: ---
Assignee: Travis Leithead [MSFT]
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords: 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

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.)