summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/masking/mask-composite-missing-image.html
blob: 4c40c89cbf348cf93dd1a8906949cfe42e8435bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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. This test is currently failing.</p>
</body>
</html>