tor-browser

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

026-manual.html (896B)


      1 <!DOCTYPE html>
      2 <?xml version="1.0" encoding="utf-8"?>
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4 <head>
      5 <title>Drag and drop of overlapping links: zero height</title>
      6 <style type="text/css">
      7 span, strong
      8  {color:green;
      9  background-color:yellow;}
     10 strong
     11  {color:red;}
     12 div
     13  {width:4em;
     14  padding:1em;
     15  line-height:0;}
     16 a
     17  {background-color:white;
     18  padding:1ex;}
     19 </style>
     20 <script type="application/ecmascript">
     21 function start(event,feedback)
     22  {event.dataTransfer.effectAllowed = 'copy';
     23  event.dataTransfer.addElement(document.querySelector(feedback));}
     24 </script>
     25 </head>
     26 <body>
     27 <div>
     28  <a href="data:text/plain,1" ondragstart="start(event,'strong')">    </a>
     29  <a href="data:text/plain,2" ondragstart="start(event,'span')">Link</a>
     30 </div>
     31 <p>Try to drag link above. You should see word <span>PASS</span> not <strong>FAIL</strong> in feedback overlay all the time.</p>
     32 </body>
     33 </html>