https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 56a44f24366557e5532147cf28cd14f306f47c46 authored by Mats Palmgren on 31 May 2012, 18:03:59 UTC
Bug 759788: hold a strong ref to the nsPluginInstanceOwner in DoStopPlugin to avoid crashes, r=bsmedberg, a=akeybl
Tip revision: 56a44f2
css-required-dyn-5.html
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: Add the required attribute to an element to make it required. -->
  <link rel='stylesheet' type='text/css' href='css-required-style-2.css'>

  <script type="text/javascript">
    function addRequired()
    {
      document.getElementById('i').required = true;
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

  <body onload="addRequired(); disableReftestWait();">
    <input type="text" id="i">
  </body>
</html>
back to top