layout/reftests/w3c-css/submitted/values3/calc-background-position-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: Test for calc() on background-position</title>
     5   <link rel="author" title="L. David Baron" href="https://bugzilla.mozilla.org/show_bug.cgi?id=594934">
     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 p {
    11     height: 50px; width: 200px;
    12     border: thin solid;
    13     background-image: url(../backgrounds/blue-32x32.png);
    14     background-repeat: no-repeat;
    15 }
    17 #one { background-position: calc(50px + 50%) calc(100% - 30px) }
    18 #two { background-position: calc(-12.5% + 3px) calc(-10px - 50%) }
    20 </style>
    21 </head>
    22 <body>
    23 <p id="one"></p>
    24 <p id="two"></p>
    25 </body>
    26 </html>

mercurial