tor-browser

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

027-manual.html (866B)


      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: negative margin</title>
      6 <style type="text/css">
      7 span, strong
      8  {color:green;
      9  background-color:yellow;}
     10 strong
     11  {color:red;}
     12 div
     13  {height:2em;}
     14 div + div
     15  {margin-top:-2em;}
     16 </style>
     17 <script type="application/ecmascript">
     18 function start(event,feedback)
     19  {event.dataTransfer.effectAllowed = 'copy';
     20  event.dataTransfer.addElement(document.querySelector(feedback));}
     21 </script>
     22 </head>
     23 <body>
     24 <div>
     25  <a href="data:text/plain,1" ondragstart="start(event,'strong')">   </a>
     26 </div>
     27 <div>
     28  <a href="data:text/plain,2" ondragstart="start(event,'span')">Link</a>
     29 </div>
     30 <p>Try to drag link above. You should see word <span>PASS</span> not <strong>FAIL</strong> in feedback overlay all the time.</p>
     31 </body>
     32 </html>