layout/reftests/image-rect/dom-api-ref.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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       #test1 {
    17         width: 16px;
    18         height: 16px;
    19         background-image: url('green-16x16-in-blue-32x32.png');
    20       }
    21       #test2 {
    22         width: 16px;
    23         height: 16px;
    24         background-image: url('green-16x16-in-blue-32x32.png');
    25       }
    26       #test3 {
    27       }
    28       #test4 {
    29         width: 32px;
    30         height: 32px;
    31         background-image: url('green-16x16-in-blue-32x32.png');
    32       }
    33     </style>
    34   </head>
    35   <body>
    36     <div class="wrapper"><div id="test1"></div></div>
    37     SUCCESS
    38     <div class="wrapper"><div id="test2"></div></div>
    39     SUCCESS
    40     <div class="wrapper"><div id="test3"></div></div>
    41     SUCCESS
    42     <div class="wrapper"><div id="test4"></div></div>
    43     SUCCESS
    44   </body>
    45 </html>

mercurial