layout/reftests/backgrounds/attachment-local-clipping-color-4.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 <title>CSS Test: background-{attachment: local; clip: border-box; color}; border-radius</title>
     3 <link rel="match" href="attachment-local-clipping-color-4-ref.html" />
     4 <meta name="flags" content="dom" />
     5 <link rel="author" title="Simon Sapin" href="http://exyr.org/about/" />
     6 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-attachment" />
     7 <style>
     8 #outer {
     9   width: 200px;
    10   height: 200px;
    11   padding: 40px;
    12   border: 10px double;
    13   overflow: hidden;
    14   border-radius: 50%;
    15   background: green local border-box;
    16 }
    17 #outer div {
    18   height: 500px;
    19 }
    20 p {
    21   margin-top: 20px;
    22 }
    23 </style>
    24 <div id=outer>
    25   <div>
    26     <p><img src=blue-32x32.png></p>
    27   </div>
    28 </div>
    29 <script>
    30 document.getElementById('outer').scrollTop = 15;
    31 </script>

mercurial