y editable region, with
    support
    for
    IME.<br>
    The element also uses the <strong>EditContext</strong> API to support text edition, and renders the text by using
    canvas drawing primitives.</p>

  <style>
    canvas {
      background: white;
      border: 2px solid black;
      border-radius: .5rem;
      width: 100%;
      margin: 2rem 0;
    }

    canvas:focus {
      outline: 2px solid rgb(105, 105, 255);
      outline-offset: 2px;
    }

    canvas.is-composing {
      background: ligh