layout/reftests/w3c-css/submitted/values3/calc-min-width-block-1.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4   <title>CSS Test: min-width: calc() on blocks</title>
     5   <link rel="author" title="L. David Baron" href="http://dbaron.org/">
     6   <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
     7   <meta name="flags" content="">
     8 <style type="text/css">
    10 body { width: 500px }
    11 p { background: green; color: white; margin: 1px 0; font-size: 10px; width: 0 }
    13 </style>
    14 </head>
    15 <body>
    17 <p style="min-width: calc(50% - 3px)">50% - 3px</p>
    18 <p style="min-width: calc(25% - 3px + 25%)">25% - 3px + 25%</p>
    19 <p style="min-width: calc(25% - 3px + 12.5% * 2)">25% - 3px + 12.5% * 2</p>
    20 <p style="min-width: calc(25% - 3px + 12.5%*2)">25% - 3px + 12.5%*2</p>
    21 <p style="min-width: calc(25% - 3px + 2*12.5%)">25% - 3px + 2*12.5%</p>
    22 <p style="min-width: calc(25% - 3px + 2 * 12.5%)">25% - 3px + 2 * 12.5%</p>
    23 <p style="min-width: calc(30% + 20%)">30% + 20%</p>
    24 </body>
    25 </html>

mercurial