Bug 622585 - Add clipped transform reftest. r=roc a=shaver
authorMatt Woodrow <mwoodrow@mozilla.com>
Tue, 22 Feb 2011 20:30:38 +1300
changeset 62911 1da3405c74fdbec662409bb82f6f63401c6ecf6c
parent 62910 8106f111b695cdaf06b6761d9bf92c4cf5722d5f
child 62912 88204c53761b71d45c3163ad8ff712de52a484c3
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, shaver
bugs622585
milestone2.0b12pre
first release with
nightly linux32
1da3405c74fd / 4.0b12pre / 20110222030357 / files
nightly linux64
1da3405c74fd / 4.0b12pre / 20110222030357 / files
nightly mac
1da3405c74fd / 4.0b12pre / 20110222030357 / files
nightly win32
1da3405c74fd / 4.0b12pre / 20110222030357 / files
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 622585 - Add clipped transform reftest. r=roc a=shaver
layout/reftests/bugs/622585-1-ref.html
layout/reftests/bugs/622585-1.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/622585-1-ref.html
@@ -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>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/622585-1.html
@@ -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>
\ No newline at end of file
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1603,15 +1603,16 @@ HTTP(..) != 615121-2.html 615121-2-notre
 == 619117-1.html 619117-1-ref.html
 HTTP(..) == 621253-1-externalFilter.html 621253-1-ref.html # XXX update reference case after bug 541270 is fixed
 == 621253-1-internalFilter.html 621253-1-ref.html # XXX update reference case after bug 541270 is fixed
 HTTP(..) == 621253-2-externalFilter.html 621253-2-ref.html
 == 621253-2-internalFilter.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
 fails-if(winWidget) == 632781-verybig.html 632781-ref.html # large canvas elements are not drawn on Windows, see bug 633936
 == 632781-normalsize.html 632781-ref.html
 == 634232-1.html 634232-1-ref.html
 == 635302-1.html 635302-1-ref.html