tor-browser

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

legend-hover.html (606B)


      1 <!DOCTYPE html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 <script src="/resources/testdriver.js"></script>
      5 <script src="/resources/testdriver-vendor.js"></script>
      6 
      7 <style>
      8 legend:hover {
      9  background: lime;
     10 }
     11 </style>
     12 <h1>Header</h1>
     13 <fieldset>
     14  <legend>Legend</legend>
     15 </fieldset>
     16 <script>
     17 // https://crbug.com/1127743
     18 promise_test(async () => {
     19  await test_driver.click(document.querySelector('legend'));
     20  assert_not_equals(document.querySelector('legend:hover'), null);
     21 }, 'The rendered LEGEND should work well for :hover.');
     22 </script>