layout/reftests/css-default/submit-button/default-submit-button-4.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/css-default/submit-button/default-submit-button-4.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +  <!-- Test: when there is a submit button which is changed,
     1.7 +    there is no default -->
     1.8 +  <link rel='stylesheet' type='text/css' href='default-submit-button-style.css'>
     1.9 +  <script type="text/javascript">
    1.10 +    function onLoadHandler()
    1.11 +    {
    1.12 +      document.getElementById('b1').type = "reset";
    1.13 +      document.documentElement.className = '';
    1.14 +    }
    1.15 +  </script>
    1.16 +
    1.17 +  <body onload="onLoadHandler();">
    1.18 +    <form>
    1.19 +      <button type='submit' id='b1'>submit</button>
    1.20 +      <button type='reset'>text</button>
    1.21 +    </form>
    1.22 +  </body>
    1.23 +</html>

mercurial