DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (409f3966645a)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!DOCTYPE html>
<html>
  <style>
    input { color: green; }
    input.notdefault:default { color: red; }
    input.default:not(:default) { color: red; }
  </style>
  <body>
    <form id="one"></form>
    <input type="submit" form="one" class="default" id="test">
    <form id="two">
      <input type="submit" class="notdefault">
    </form>
    <script>
      document.body.offsetWidth;
      document.getElementById("test").setAttribute("form", "two");
    </script>
  </body>
</html>