t src="/resources/testdriver-vendor.js"></script>
<script src="/resources/testdriver-actions.js"></script>
<body>
<script>
"use strict";

const params = new URLSearchParams(location.search);

/**
 * The expected results is based on Chrome 93.
 * The behavior is reasonable because JS API which does not require focus keeps
 * working even if it's hidden.
 */

function init() {
  const div = document.createElement("div");
  const editor = document.createElement(params.get("editor"));
  const hideTarget = param