tor-browser

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

margin-right-114.html (869B)


      1 <!DOCTYPE html>
      2 <title>CSS Test: Negative margin-right on an inline split by a block descendant</title>
      3 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
      4 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-margin-right">
      5 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#margin-properties">
      6 <link rel="match" href="../../reference/ref-filled-green-200px-square.html">
      7 <meta name="assert" content="The negative 'margin-right' doesn't hide the 'border-right'.">
      8 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      9 
     10 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     11 <div style="width: 200px; background: red">
     12  <span style="font: 200px/1 Ahem; border-right: 200px solid green; margin-right: -200px">
     13    <div><!-- This is a block that splits the inline --></div>
     14  </span>
     15 </div>