layout/reftests/image-rect/background-test-parser-ref.html

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!DOCTYPE html>
     2 <!--
     3     Any copyright is dedicated to the Public Domain.
     4     http://creativecommons.org/licenses/publicdomain/
     5 -->
     6 <html>
     7   <head>
     8     <title>Testcases: -moz-image-rect() [bug 113577]</title>
     9     <style>
    10       div.wrapper {
    11         width: 32px;
    12         height: 32px;
    13         margin: 10px;
    14         background-color: red;
    15       }
    16       div.wrapper div {
    17       }
    18       #test1, #test2, #test3 {
    19         width: 16px;
    20         height: 16px;
    21         background: url('green-16x16-in-blue-32x32.png') no-repeat;
    22       }
    23       #test4 {
    24         width: 32px;
    25         height: 32px;
    26         background-color: yellow;
    27       }
    28       #test5, #test6 {
    29       }
    30     </style>
    31   </head>
    32   <body>
    33     <div class="wrapper"><div id="test1"></div></div>
    34     <div class="wrapper"><div id="test2"></div></div>
    35     <div class="wrapper"><div id="test3"></div></div>
    36     <div class="wrapper"><div id="test4"></div></div>
    37     <div class="wrapper"><div id="test5"></div></div>
    38     <div class="wrapper"><div id="test6"></div></div>
    39   </body>
    40 </html>

mercurial