summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/border-image-13.html
blob: 52095cf289f8a46d348d08611e52c12e1731e676 (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 Border and Background: border-image #13 border-image-repeat
    </title>
    <meta name="assert" content="Test for the border-image-repeat property with the value repeat" />

    <link rel="author" title="Jérémie Patonnier" href="mailto:jeremie@patonnier.net" / >

    <link rel="help" href="http://www.w3.org/TR/css3-background/#the-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.
    </p>

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

</body>
</html>