layout/reftests/backgrounds/attachment-local-positioning-5.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!doctype html>
     2 <title>CSS Test: background-{attachment: local; origin: content-box}; positioning area</title>
     3 <link rel="match" href="attachment-local-positioning-5-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 div {
     9   background: url(aqua-yellow-32x32.png) local no-repeat content-box;
    10   overflow: hidden;
    11   height: 200px;
    12   padding: 40px 30px;
    13 }
    14 p {
    15   padding-top: 100px;
    16   height: 500px;
    17 }
    18 </style>
    19 <div>
    20   <p><img src=blue-32x32.png></p>
    21 </div>
    22 <script>
    23 document.getElementsByTagName('div')[0].scrollTop = 15;
    24 </script>

mercurial