Bug 622585 - Add clipped transform reftest. r=roc a=shaver

This commit is contained in:
Matt Woodrow 2011-02-22 20:30:38 +13:00
parent c6ae64d9aa
commit 86d440938c
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><style>
#rot {
width: 300px; /* the div is partially outside of the viewport */
height: 300px;
background: red;
position: absolute;
left: -150px;
top: -150px;
}
</style>
</head><body><div style="-moz-transform: rotate(72deg);" id="rot"></div>
<script>
</script></body></html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><style>
#rot {
width: 300px; /* the div is partially outside of the viewport */
height: 300px;
background: red;
position: absolute;
left: -150px;
top: -150px;
}
</style>
</head><body><div style="-moz-transform: rotate(72deg);" id="rot">
<canvas width="1" height="1" id="c" style="display:block"></canvas>
</div>
<script>
</script></body></html>

View File

@ -1608,6 +1608,7 @@ HTTP(..) == 621253-2-externalFilter.html 621253-2-ref.html
HTTP(..) == 619511-1.html 619511-1-ref.html
random-if(winWidget) == 621918-1.svg 621918-1-ref.svg # 1-pixel diacritic positioning discrepancy in rotated text (may depend on platform fonts)
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
== 622585-1.html 622585-1-ref.html
== 625409-1.html 625409-1-ref.html
== 627393-1.html about:blank
== 631352-1.html 631352-1-ref.html