blob: a6e84260aa8c7547be9bef3af3e0d4d8076b2376 (
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
|
<!DOCTYPE html>
<html>
<head>
<style>
.square {
width: 100px;
height: 100px;
float: left;
margin: 50px;
}
.transparent-border {
background-color:red;
border-bottom: 10px solid rgba(1, 52, 193, 0.5);
}
.gradient {
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(0,0,255,1)), to(rgba(0,255,0,1)));
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsTextWithPixelResults();
</script>
</head><body>
<p>Test for Bug 51240: PASS if the second box is painted as an opaque blue-to-green square.</p>
<div class="square transparent-border"></div>
<div class="square gradient"></div>
</body></html>
|