tor-browser

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

min-width-001.xht (1106B)


      1 <!DOCTYPE html SYSTEM "about:legacy-compat">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3 <head>
      4     <meta charset="utf-8" />
      5     <title>CSS Media Queries Test: min-width length value approximation</title>
      6     <link rel="author" title="Chris Rebert" href="http://chrisrebert.com" />
      7     <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" />
      8     <link rel="help" href="http://www.w3.org/TR/mediaqueries-4/#width" />
      9     <link rel="help" href="http://www.w3.org/TR/css3-values/#length-value" />
     10     <link rel="match" href="../reference/ref-filled-green-100px-square.xht" />
     11     <meta name="assert" content="min-width length values that are too large to be supported must be clamped, rounded to infinity, or approximated, but not overflowed to a small or negative value." />
     12     <style>
     13 div {
     14     width: 100px;
     15     height: 100px;
     16     background-color: green;
     17 }
     18 @media (min-width: 9999999999px) {
     19     div {
     20         background-color: red;
     21     }
     22 }
     23     </style>
     24 </head>
     25 <body>
     26     <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
     27     <div></div>
     28 </body>
     29 </html>