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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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

Reply via email to