chromium/third_party/blink/renderer/core/editing/ime/character_bounds_update_event.idl

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// The characterboundsupdate event will be fired on the EditContext when
// the information of the character bounds are needed by the text input
// service. Authors are responsible to provide the information via
// updateCharacterBounds when receiving this event.

// Spec draft:
// https://w3c.github.io/edit-context/#characterboundsupdateevent
[
  Exposed=Window
] interface CharacterBoundsUpdateEvent : Event {
    constructor(DOMString type, optional CharacterBoundsUpdateEventInit options = {});
    readonly attribute unsigned long rangeStart;
    readonly attribute unsigned long rangeEnd;
};