layout/reftests/border-image/repeat-image-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 lang="en-US">
     3 <head>
     4   <title>test of border-image</title>
     5   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     6   <meta http-equiv="Content-Style-Type" content="text/css">
     7   <style type="text/css">
     9   div.p1 {
    10     background: red; /* fail if this shows through */
    11     background-image: url('3x3multicolor.png'); /* fail if this shows through */
    12     border-width: 1px 3px;
    13     border-style: solid;
    14     border-image: url('4x4multicolor.png') 1 1 1 1 repeat;
    15     -khtml-border-image: url('4x4multicolor.png') 1 1 1 1 repeat;
    16     border-image: url('4x4multicolor.png') 1 1 1 1 repeat;
    17   }
    19   div.p2 {
    20     background: red; /* fail if this shows through */
    21     background-image: url('3x3multicolor.png'); /* fail if this shows through */
    22     border-width: 1px 3px;
    23     border-style: solid;
    24     border-image: url('4x4multicolor.png') 1 1 1 1;
    25     -khtml-border-image: url('4x4multicolor.png') 1 1 1 1;
    26     border-image: url('4x4multicolor.png') 1 1 1 1;
    27   }
    29   </style>
    30 </head>
    31 <body>
    32 <div class="p1" style="width: 4px; height: 2px"></div>
    33 <!--<div class="p2" style="width: 4px; height: 2px"></div> -->
    34 </body>
    35 </html>

mercurial