layout/reftests/css-default/submit-button/default-submit-button-7.html
author Daosheng Mu <daoshengmu@gmail.com>
Thu, 06 Sep 2018 20:17:26 +0000
changeset 435154 409f3966645a651c8cb8d6d1e2f3fa995b69c739
parent 41437 15cece8f636985cd50755cbd3982a6303d6d56b6
permissions -rw-r--r--
Bug 1489022 - Avoid be overwritten when WEBGL_MSAA is in the blacklist. r=jgilbert MozReview-Commit-ID: 3HVTu2UQcFX Differential Revision: https://phabricator.services.mozilla.com/D5126

<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: when there is no submit button and one is added,
    there is a default submit button -->
  <link rel='stylesheet' type='text/css' href='default-submit-button-style.css'>
  <script type="text/javascript">
    function onLoadHandler()
    {
      document.getElementById('b1').removeAttribute('type');
      document.documentElement.className = '';
    }
  </script>

  <body onload="onLoadHandler();">
    <form>
      <button type='submit' id='b1'>submit</button>
      <button type='reset'>text</button>
    </form>
  </body>
</html>