layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-001-ref.xht

Thu, 15 Jan 2015 21:13:52 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:13:52 +0100
branch
TOR_BUG_9701
changeset 12
7540298fafa1
permissions
-rw-r--r--

Remove forgotten relic of ABI crash risk averse overloaded method change.

     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3  <head>
     4   <title>CSS Reference: Box Sizing - Padding-Box with specified width/height</title>
     5   <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
     6   <style type="text/css"><![CDATA[
     7     .container {
     8       width: 300px;
     9       border: 2px solid black;
    10       position: absolute;
    11       left: 25px;
    12       top: 25px;
    13       background-color: red;
    14     }
    16     .box-sized {
    17       width: 140px;
    18       z-index: 1;
    19       float: left;
    20       padding: 0px 5px;
    21     }
    23     #one {
    24       background-color: green;
    25     }
    27     #two {
    28       background-color: blue;
    29     }
    30   ]]></style>
    31  </head>
    32  <body>
    33    The two divs should be side-by-side, not one on top of another. No red should be visible.
    34    <br />
    35    <div class="container">
    36      <div class="box-sized" id="one">LEFT HALF</div>
    37      <div class="box-sized" id="two">RIGHT HALF</div>
    38    </div>
    39  </body>
    40 </html>

mercurial