summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/border-image-013.html
blob: c7cc7d54a39e5aeb9fbf3e0eca77e94786abfbc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>
        CSS Backgrounds and Borders Test: border-image-repeat: repeat (basic)
    </title>


    <link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net">
    <link rel="match" href="reference/border-image-013-ref.html">
    <link rel="help" href="http://www.w3.org/TR/css3-background/#border-image-repeat">

    <style type="text/css">

        #test {
            border : 10px solid red;
            width  : 30px;
            height : 30px;

            border-image-source: url(support/img-ref-2.png);
            border-image-slice : 10;
            border-image-repeat: repeat;
        }

    </style>

</head>
<body>

    <p>
        Pass if the square has borders made of green dots and <strong>no red</strong>.
    </p>

    <div id="test"></div>

</body>
</html>