diff --git a/index.html b/index.html index d4e5bab..2cd3016 100644 --- a/index.html +++ b/index.html @@ -110,7 +110,7 @@

EditContext state

  • selection start which refers to the offset in [=text=] where the selection starts. The initial value is 0.
  • selection end which refers to the offset in [=text=] where the selection ends. The initial value is 0. [=selection end=] may be less than [=selection start=] in the case of a "backwards" selection (in reverse of document order).
  • is composing which indicates if there is an active composition. The initial value is false.
  • -
  • composition start which refers to the offset in [=text=] representing the start position of the text being actively composed. The initial value is 0.

  • +
  • composition start which refers to the offset in [=text=] representing the start position of the text being actively composed. The initial value is 0.
  • composition end which refers to the offset in [=text=] representing the end position of the text being actively composed. The initial value is 0. [=composition end=] must always be greater than or equal to [=composition start=].
  • text formats which is an array of [=text format=]. The array is initially empty.
  • control bounds is a {{DOMRect}} describing the area of the viewport in which [=text=] is displayed. It is in the [=client coordinate system=] and the initial x, y, width, and height are all 0.
  • @@ -178,7 +178,6 @@

    Association and activation

    {{HTMLElement/editContext}} property will prevent the element from being garbage collected until the property is cleared or the {{EditContext}} is garbage collected.

    -

    If an {{EditContext}}'s associated element's parent is not