editor/reftests/readwrite-editable.html
author JW Wang <jwwang@mozilla.com>
Mon, 09 Jan 2017 13:06:55 +0800
changeset 458396 06f59c551e95e929c9e8c667b4082fecfeee8f3b
parent 93619 838fb33405ba7f8804a76528aa956b913068015c
permissions -rw-r--r--
Bug 1329110. Part 6 - remove StateObject::HandleWaitingForData(). Since DecodingState is the only one that overrides the function, we will let it just override HandleWaitingFor{Audio,Video}. We also reduce the code complexity because it is hard to trace the code when one virtual function calls another virtual function. MozReview-Commit-ID: AdLXpDgvOyx

<!DOCTYPE html>
<html>
  <head>
    <style>
      :-moz-read-write + span {
        display: none;
      }
      span {
        color: transparent; /* workaround for bug 617524 */
        outline: 1px solid green;
      }
    </style>
  </head>
  <body contenteditable>
    <input><span>hide me</span>
    <input readonly><span>hide me</span>
    <input type=password><span>hide me</span>
    <input type=password readonly><span>hide me</span>
    <input type=email><span>hide me</span>
    <input type=email readonly><span>hide me</span>
    <textarea></textarea><span>hide me</span>
    <textarea readonly></textarea><span>hide me</span>
  </body>
</html>