author Brad Werth <bwerth@mozilla.com>
Tue, 21 Feb 2017 14:05:24 -0800
changeset 344687 da2bee86bcb2716f89e6a5d4345f73f17bb4f0ee
parent 108413 0d3c93bc571693d24de2e9af2f92fd2e6fb8001c
permissions -rw-r--r--
Bug 1290218 Part 9: Generalize stylesheet Loader to cache Servo sheets in the same way that it caches Gecko sheets. r=heycam MozReview-Commit-ID: BUEvgos46By

<!DOCTYPE html>

  <textarea id="testBox" style="padding:2px;" readonly></textarea>
  <script type="text/javascript">
    //Adding focus to the textbox should trigger a spellcheck
    var textbox = document.getElementById("testBox");
    addEventListener("load", function() {
      textbox.readOnly = false;
      textbox.value = "blahblahblah";
      textbox.selectionStart = textbox.selectionEnd = 0;
    }, false);