tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

range-option-remove-repaint.html (742B)


      1 <!doctype html>
      2 <html class=reftest-wait>
      3 <title>The range is repainted if an option is removed from the range's list</title>
      4 <link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1805105">
      5 <link rel=author href="mailto:zach@zrhoffman.net" title="Zach Hoffman">
      6 <link rel=match href=range-tick-marks-05-ref.html>
      7 <script src=/common/reftest-wait.js></script>
      8 <input type=range step=3 value=1 min=-5 max=5 list=tickmarks>
      9 <datalist id=tickmarks>
     10  <option value=-2></option>
     11  <option value=1 id=to-remove></option>
     12  <option value=4></option>
     13 </datalist>
     14 <script>
     15  requestAnimationFrame(() =>
     16    requestAnimationFrame(() => {
     17      document.querySelector("option#to-remove").remove();
     18      takeScreenshot();
     19    }));
     20 </script>