summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/border-image-repeat-round.html
blob: cf87e8d16306ed34a11b7e89f7d88fe1f1212c12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
    <title>CSS Backgrounds and Borders Test: 'border-image-repeat' set as 'round'</title>
    <link rel="author" title="Ren Jing" href="mailto:reni2046@gmail.com">
    <link rel="help" href="http://www.w3.org/TR/css3-background/#border-images">
    <link rel="match" href="reference/border-image-repeat-round-ref.html">
    <meta name="assert" content="diamonds in corners should be red, and other diamonds should be orange, it should be 4 orange diamonds on each side.">
    <meta name="fuzzy" content="maxDifference=0-111;totalPixels=0-3435">
    <style type="text/css">
        .container {
            border: double red 1em;
            border-image: url("support/border.png") 27 round;
            height:64px;
            width:64px;
        }
    </style>
</head>
<body>
    <p>The test passes if diamonds in corners are red, and other diamonds are orange, there are 4 orange diamonds on each side.</p>
    <div class="container"></div>
</body>
</html>