summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/mask-composite-missing-images.html
blob: ed0dfcda1bc6070d1173937e41ab579f7d8bae88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
<style>
.test {
    width: 200px;
    height: 200px;
    border:10px solid black;
    background-color:lime;
    -webkit-mask-image: url(url-not-found), url(url-not-found), url(url-not-found), url(url-not-found), url(url-not-found), url(url-not-found), url(url-not-found), url(url-not-found), url(url-not-found);
    -webkit-mask-position: top left, top right, bottom left, bottom right, top center, center right, bottom center, center left, center;
    -webkit-mask-origin: border;
    -webkit-mask-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, repeat-y, repeat-x, repeat-y, repeat;
    -webkit-mask-composite: copy;
}
</style>
</head>
<body>
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=26084">WebKit Bug 26084: Bug 26084: Multiple missing images in webkit-mask-image prevent rendering</a></p>
<div class="test">This text should be visible.</div>
<p>If the test passes, you should be able to see a lime square with a black border. Inside the border, you should see the text: This text should be visible.</p>
</body>
</html>