editor/reftests/969773.html
author B2G Bumper Bot <release+b2gbumper@mozilla.com>
Mon, 19 Oct 2015 01:05:33 -0700
changeset 303448 2cda93c9cb39755deb2d582d50f529f852fa9a78
parent 186024 9009d48cb9c7bd1ed5e742e290979ae2f10667fe
child 376939 7b434711753b98a87603453caaa0945791ffe12b
permissions -rw-r--r--
Bumping gaia.json for 5 gaia revision(s) a=gaia-bump ======== https://hg.mozilla.org/integration/gaia-central/rev/8be78fcf836b Author: Timothy Guan-tin Chien <timdream@gmail.com> Desc: Merge pull request #32536 from timdream/input-mgmt-chrome-event2 Bug 1207485 - Remove mozChromeEvent/mozContentEvent w/ new InputMethod API methods, r=albertopq ======== https://hg.mozilla.org/integration/gaia-central/rev/2d8ecd5869db Author: Timothy Guan-tin Chien <timdream@gmail.com> Desc: Bug 1207485 - Part II, Use addinputrequest/removeinputrequest events to handle addInput()/removeInput() ======== https://hg.mozilla.org/integration/gaia-central/rev/f372403a5fd3 Author: Timothy Guan-tin Chien <timdream@gmail.com> Desc: Bug 1207485 - Remove mozChromeEvent/mozContentEvent w/ new InputMethod API methods ======== https://hg.mozilla.org/integration/gaia-central/rev/508a6cea1619 Author: Staś Małolepszy <stas@mozilla.com> Desc: Merge pull request #32526 from stasm/1215454-l20n-3.3.3 Bug 1215454 - Update l20n.js to 3.3.3. r=gandalf ======== https://hg.mozilla.org/integration/gaia-central/rev/c02403f4901d Author: Staś Małolepszy <stas@mozilla.com> Desc: Bug 1215454 - Update l20n.js to 3.3.3. r=gandalf

<!DOCTYPE html>
<html class="reftest-wait">
<head>
  <meta charset="utf-8">
  <title>Contenteditable Selection Test Case</title>
  <script>
    function runTests() {
      var editable = document.getElementById("editable");
      var text = document.getElementById("text");

      editable.focus();

      setTimeout(function () {
        editable.setAttribute("contenteditable", "false");
        text.focus();
        setTimeout(function () {
          document.body.offsetHeight;
          document.documentElement.removeAttribute('class');
        }, 0);
      }, 0);
    }
    document.addEventListener('MozReftestInvalidate', runTests, false);
  </script>
</head>
<body>
    <div id="editable" contenteditable="true" tabindex="0" spellcheck="false">This is a contenteditable.</div>
    <div id="text" tabindex="0">This is focusable text</div>
</body>
</html>