reftest for bug 929451
authorRobert O'Callahan <robert@ocallahan.org>
Tue, 28 Jan 2014 18:14:23 +1300
changeset 181745 1caab2ff634687cdb98a400aceef6cb23b2728e7
parent 181744 0b9787508fab5e5e61c6d3bde96ec0e97ed23504
child 181746 931b7b9749bcf88e64687ffda794364db35d10a7
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs929451
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
reftest for bug 929451
layout/reftests/canvas/reftest.list
layout/reftests/canvas/subpixel-1.html
--- a/layout/reftests/canvas/reftest.list
+++ b/layout/reftests/canvas/reftest.list
@@ -3,16 +3,18 @@ skip-if(B2G) fuzzy-if(Android&&AndroidVe
 
 == empty-transaction-1.html empty-transaction-1-ref.html
 
 == image-rendering-test.html image-rendering-ref.html
 == image-shadow.html image-shadow-ref.html
 
 skip-if(B2G) asserts-if(cocoaWidget,0-2) == size-change-1.html size-change-1-ref.html
 
+== subpixel-1.html about:blank
+
 != text-ltr-left.html text-blank.html
 != text-ltr-right.html text-blank.html
 != text-rtl-left.html text-blank.html
 != text-rtl-right.html text-blank.html
 
 == text-ltr-start.html text-ltr-left.html
 == text-ltr-end.html text-ltr-right.html
 != text-ltr-left.html text-ltr-right.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/canvas/subpixel-1.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<body>
+<canvas id="canvas"></canvas>
+<script>
+var c = canvas.getContext('2d');
+c.font = "8pt sans-serif";
+c.textAlign = "center";
+c.textBaseline = "middle";
+c.fillStyle = "white";
+c.fillText("Test Text", canvas.width / 2, canvas.height / 2);
+</script>
+</body>
+</html>