Attachment #514128: tests for bug #635373

View | Details | Raw Unified | Return to bug 635373
Collapse All | Expand All

(-)a/layout/reftests/bugs/635373-1-ref.html (+28 lines)
Line     Link Here 
Line 0    Link Here 
1
<!DOCTYPE HTML>
2
<html>
3
<head>
4
<style>
5
body { background:white; }
6
#d {
7
	position:absolute;
8
	top:200px;
9
	left:200px;
10
    font-size:30px;
11
    transform:rotate(30deg);
12
    -moz-transform:rotate(30deg);
13
    background:white;
14
}
15
span { display:block; background:rgb(200,200,200); }
16
</style>
17
</head>
18
<body>
19
<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas></span>
20
<span style="width:100px; height:20px;"></span>
21
</div>
22
<script>
23
var ctx = document.getElementById("c").getContext("2d");
24
ctx.fillStyle = "lime";
25
ctx.fillRect(5,5,5,5);
26
</script>
27
</body>
28
</html>
(-)a/layout/reftests/bugs/635373-1.html (+28 lines)
Line     Link Here 
Line 0    Link Here 
1
<!DOCTYPE HTML>
2
<html>
3
<head>
4
<title>Testing compositing of opaque layer with complex visible region</title>
5
<style>
6
body { background:white; }
7
#d {
8
	position:absolute;
9
	top:200px;
10
	left:200px;
11
    font-size:30px;
12
    transform:rotate(30deg);
13
    -moz-transform:rotate(30deg);
14
}
15
span { display:block; background:rgb(200,200,200); }
16
</style>
17
</head>
18
<body>
19
<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas></span>
20
<span style="width:100px; height:20px;"></span>
21
</div>
22
<script>
23
var ctx = document.getElementById("c").getContext("2d");
24
ctx.fillStyle = "lime";
25
ctx.fillRect(5,5,5,5);
26
</script>
27
</body>
28
</html>
(-)a/layout/reftests/bugs/635373-2-ref.html (+29 lines)
Line     Link Here 
Line 0    Link Here 
1
<!DOCTYPE HTML>
2
<html>
3
<head>
4
<title>Testing compositing of translucent layer with complex visible region</title>
5
<style>
6
body { background:white; }
7
#d {
8
	position:absolute;
9
	top:200px;
10
	left:200px;
11
    font-size:30px;
12
    transform:rotate(30deg);
13
    -moz-transform:rotate(30deg);
14
    background:white;
15
}
16
span { display:block; background:rgba(200,200,200, 0.4); }
17
</style>
18
</head>
19
<body>
20
<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas></span>
21
<span style="width:100px; height:20px;"></span>
22
</div>
23
<script>
24
var ctx = document.getElementById("c").getContext("2d");
25
ctx.fillStyle = "lime";
26
ctx.fillRect(5,5,5,5);
27
</script>
28
</body>
29
</html>
(-)a/layout/reftests/bugs/635373-2.html (+28 lines)
Line     Link Here 
Line 0    Link Here 
1
<!DOCTYPE HTML>
2
<html>
3
<head>
4
<title>Testing compositing of translucent layer with complex visible region</title>
5
<style>
6
body { background:white; }
7
#d {
8
	position:absolute;
9
	top:200px;
10
	left:200px;
11
    font-size:30px;
12
    transform:rotate(30deg);
13
    -moz-transform:rotate(30deg);
14
}
15
span { display:block; background:rgba(200,200,200, 0.4); }
16
</style>
17
</head>
18
<body>
19
<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas></span>
20
<span style="width:100px; height:20px;"></span>
21
</div>
22
<script>
23
var ctx = document.getElementById("c").getContext("2d");
24
ctx.fillStyle = "lime";
25
ctx.fillRect(5,5,5,5);
26
</script>
27
</body>
28
</html>
(-)a/layout/reftests/bugs/635373-3-ref.html (+29 lines)
Line     Link Here 
Line 0    Link Here 
1
<!DOCTYPE HTML>
2
<html>
3
<head>
4
<title>Testing compositing of component alpha layer with complex visible region</title>
5
<style>
6
body { background:white; }
7
#d {
8
	position:absolute;
9
	top:200px;
10
	left:200px;
11
    font-size:30px;
12
    transform:rotate(30deg);
13
    -moz-transform:rotate(30deg);
14
    background:white;
15
}
16
span { display:block; background:rgba(200,200,200, 0.4); }
17
</style>
18
</head>
19
<body>
20
<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas>XYZ</span>
21
<span style="width:100px; height:20px;"></span>
22
</div>
23
<script>
24
var ctx = document.getElementById("c").getContext("2d");
25
ctx.fillStyle = "lime";
26
ctx.fillRect(5,5,5,5);
27
</script>
28
</body>
29
</html>
(-)a/layout/reftests/bugs/635373-3.html (+28 lines)
Line     Link Here 
Line 0    Link Here 
1
<!DOCTYPE HTML>
2
<html>
3
<head>
4
<title>Testing compositing of component alpha layer with complex visible region</title>
5
<style>
6
body { background:white; }
7
#d {
8
	position:absolute;
9
	top:200px;
10
	left:200px;
11
    font-size:30px;
12
    transform:rotate(30deg);
13
    -moz-transform:rotate(30deg);
14
}
15
span { display:block; background:rgba(200,200,200, 0.4); }
16
</style>
17
</head>
18
<body>
19
<div id="d"><span style="width:20px"><canvas id="c" width="20" height="20"></canvas>XYZ</span>
20
<span style="width:100px; height:20px;"></span>
21
</div>
22
<script>
23
var ctx = document.getElementById("c").getContext("2d");
24
ctx.fillStyle = "lime";
25
ctx.fillRect(5,5,5,5);
26
</script>
27
</body>
28
</html>
(-)a/layout/reftests/bugs/reftest.list (+3 lines)
Line     Link Here 
 Lines 1608-1615   HTTP(..) == 621253-2-externalFilter.html Link Here 
1608
HTTP(..) == 619511-1.html 619511-1-ref.html
1608
HTTP(..) == 619511-1.html 619511-1-ref.html
1609
random-if(winWidget) == 621918-1.svg 621918-1-ref.svg # 1-pixel diacritic positioning discrepancy in rotated text (may depend on platform fonts)
1609
random-if(winWidget) == 621918-1.svg 621918-1-ref.svg # 1-pixel diacritic positioning discrepancy in rotated text (may depend on platform fonts)
1610
random-if(winWidget) HTTP(..) == 621918-2.svg 621918-2-ref.svg # same 1px issue as above, and HTTP(..) for filters.svg, used to mask antialiasing issues where glyphs touch
1610
random-if(winWidget) HTTP(..) == 621918-2.svg 621918-2-ref.svg # same 1px issue as above, and HTTP(..) for filters.svg, used to mask antialiasing issues where glyphs touch
1611
== 625409-1.html 625409-1-ref.html
1611
== 625409-1.html 625409-1-ref.html
1612
== 627393-1.html about:blank
1612
== 627393-1.html about:blank
1613
== 631352-1.html 631352-1-ref.html
1613
== 631352-1.html 631352-1-ref.html
1614
fails-if(winWidget) == 632781-verybig.html 632781-ref.html # large canvas elements are not drawn on Windows, see bug 633936
1614
fails-if(winWidget) == 632781-verybig.html 632781-ref.html # large canvas elements are not drawn on Windows, see bug 633936
1615
== 632781-normalsize.html 632781-ref.html
1615
== 632781-normalsize.html 632781-ref.html
1616
== 635373-1.html 6353731-1-ref.html
1617
== 635373-2.html 6353731-2-ref.html
1618
== 635373-3.html 6353731-3-ref.html

Return to bug 635373