[Bug 23830] New: Move attributes of Composition interface to CompositionEvent

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23830

            Bug ID: 23830
           Summary: Move attributes of Composition interface to
                    CompositionEvent
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: IME API
          Assignee: kochi@google.com
          Reporter: kochi@google.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org

(Suggested by Travis at TPAC 2013)
As the nature of IME composition, which may change from time to time,
it makes sense to contain a 'snapshot' information of an IME composition
to be delivered with CompositionEvent (e.g. compositionupdate).

Rather than having 2 pieces of information separate, it will be more
convenient for application developers.

To do that, instead of the current form of definition:

interface Composition {
    readonly    attribute DOMString text;
    readonly    attribute long      activeSegmentStart;
    readonly    attribute long      activeSegmentEnd;
    sequence<unsigned long> getSegments ();
};

Use:
partial interface CompositionEvent {
...
};

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 14 November 2013 08:50:20 UTC