layout/reftests/border-image/multicolor-image-3.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html lang="en-US">
michael@0 3 <head>
michael@0 4 <title>test of border-image: number repetition</title>
michael@0 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
michael@0 6 <meta http-equiv="Content-Style-Type" content="text/css">
michael@0 7 <style type="text/css">
michael@0 8
michael@0 9 div {
michael@0 10 background: red; /* fail if this shows through */
michael@0 11 background-image: url('3x3multicolor.png'); /* fail if this shows through */
michael@0 12 margin-bottom: 2px;
michael@0 13 }
michael@0 14
michael@0 15 div.one {
michael@0 16 border-width: 4px 6px 8px;
michael@0 17 border-style: solid;
michael@0 18 border-image: url(10x5multicolor.png) 2;
michael@0 19 -khtml-border-image: url(10x5multicolor.png) 2;
michael@0 20 border-image: url(10x5multicolor.png) 2;
michael@0 21 width: 5px;
michael@0 22 height: 2px;
michael@0 23 }
michael@0 24
michael@0 25 div.two {
michael@0 26 border-width: 4px;
michael@0 27 border-style: solid;
michael@0 28 border-image: url(10x5multicolor.png) 2 1;
michael@0 29 -khtml-border-image: url(10x5multicolor.png) 2 1;
michael@0 30 border-image: url(10x5multicolor.png) 2 1;
michael@0 31 width: 5px;
michael@0 32 height: 2px;
michael@0 33 }
michael@0 34
michael@0 35 div.three {
michael@0 36 border-image: url(10x5multicolor.png) 2 3 1;
michael@0 37 -khtml-border-image: url(10x5multicolor.png) 2 3 1;
michael@0 38 border-image: url(10x5multicolor.png) 2 3 1;
michael@0 39 border-width: 4px 2px;
michael@0 40 border-style: solid;
michael@0 41 width: 5px;
michael@0 42 height: 2px;
michael@0 43 }
michael@0 44
michael@0 45 div.four {
michael@0 46 border-width: 4px 3px;
michael@0 47 border-style: solid;
michael@0 48 border-image: url(10x5multicolor.png) 2 3 1 1;
michael@0 49 -khtml-border-image: url(10x5multicolor.png) 2 3 1 1;
michael@0 50 border-image: url(10x5multicolor.png) 2 3 1 1;
michael@0 51 width: 5px;
michael@0 52 height: 2px;
michael@0 53 }
michael@0 54
michael@0 55 </style>
michael@0 56 </head>
michael@0 57 <body>
michael@0 58 <div class="one"></div>
michael@0 59 <div class="two"></div>
michael@0 60 <div class="three"></div>
michael@0 61 <div class="four"></div>
michael@0 62 </body>
michael@0 63 </html>

mercurial