bug 574907 - reftests for snapping DirectWrite font size to integer when bitmap is present. a=test-only
authorJonathan Kew <jfkthame@gmail.com>
Fri, 21 Jan 2011 10:40:34 +0000
changeset 61075 e0ea4e4d401ffb439fc87a6196c84302aa4b3ec8
parent 61074 e0c9841ac3ddec2a86b8cbee70cba5039f71e5d1
child 61076 85c787353aacc434acf5c825e6af6c215b277570
push idunknown
push userunknown
push dateunknown
reviewerstest-only
bugs574907
milestone2.0b10pre
bug 574907 - reftests for snapping DirectWrite font size to integer when bitmap is present. a=test-only
layout/reftests/bugs/574907-1-ref.html
layout/reftests/bugs/574907-1.html
layout/reftests/bugs/574907-2-ref.html
layout/reftests/bugs/574907-2.html
layout/reftests/bugs/574907-3-notref.html
layout/reftests/bugs/574907-3.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/574907-1-ref.html
@@ -0,0 +1,9 @@
+<html>
+<body>
+<p style="font-family:MS PGothic;font-size:16px">
+&#x3053;&#x3093;&#x306b;&#x3061;&#x306f;
+</p>
+</body>
+</html>
+
+
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/574907-1.html
@@ -0,0 +1,9 @@
+<html>
+<body>
+<p style="font-family:MS PGothic;font-size:16.4px">
+&#x3053;&#x3093;&#x306b;&#x3061;&#x306f;
+</p>
+</body>
+</html>
+
+
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/574907-2-ref.html
@@ -0,0 +1,9 @@
+<html>
+<body>
+<p style="font-family:MS PGothic;font-size:17px">
+&#x3053;&#x3093;&#x306b;&#x3061;&#x306f;
+</p>
+</body>
+</html>
+
+
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/574907-2.html
@@ -0,0 +1,9 @@
+<html>
+<body>
+<p style="font-family:MS PGothic;font-size:16.6px">
+&#x3053;&#x3093;&#x306b;&#x3061;&#x306f;
+</p>
+</body>
+</html>
+
+
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/574907-3-notref.html
@@ -0,0 +1,9 @@
+<html>
+<body>
+<p style="font-family:MS PGothic;font-size:26px">
+&#x3053;&#x3093;&#x306b;&#x3061;&#x306f;
+</p>
+</body>
+</html>
+
+
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/574907-3.html
@@ -0,0 +1,9 @@
+<html>
+<body>
+<p style="font-family:MS PGothic;font-size:26.4px">
+&#x3053;&#x3093;&#x306b;&#x3061;&#x306f;
+</p>
+</body>
+</html>
+
+
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1497,21 +1497,25 @@ random-if(layersGPUAccelerated) == 56499
 == 571347-1b.html 571347-1-ref.html
 == 571347-2a.html 571347-2-ref.html
 == 571347-2b.html 571347-2-ref.html
 == 571347-2c.html 571347-2-ref.html
 == 571347-2d.html 571347-2-ref.html
 == 571347-3.html 571347-3-ref.html
 == 572598-1.html 572598-ref.html
 == 574898-1.html 574898-ref.html
-== 579655-1.html 579655-1-ref.html
+# 574907 is a windows-only issue, result on other platforms depends on details of font support
+random-if(!winWidget) == 574907-1.html 574907-1-ref.html
+random-if(!winWidget) == 574907-2.html 574907-2-ref.html
+random-if(!winWidget) fails-if(winWidget&&!d2d) != 574907-3.html 574907-3-notref.html
 == 577838-1.html 577838-1-ref.html
 == 577838-2.html 577838-2-ref.html
 random-if(layersGPUAccelerated) fails-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) fails-if(/Mac\x20OS\x20X\x2010\.5/.test(http.oscpu)) == 579323-1.html 579323-1-ref.html # bug 623450 for WinXP and bug 627560 for OSX 10.5
 == 579349-1.html 579349-1-ref.html
+== 579655-1.html 579655-1-ref.html
 == 579808-1.html 579808-1-ref.html
 random-if(layersGPUAccelerated) fails-if(/^Windows\x20NT\x205\.1/.test(http.oscpu))  == 579985-1.html 579985-1-ref.html # bug 623452 for WinXP; this bug was only for a regression in BasicLayers anyway
 == 580160-1.html 580160-1-ref.html
 fails-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) HTTP(..) == 580863-1.html 580863-1-ref.html # bug 623454
 random-if(layersGPUAccelerated) fails-if(/^Windows\x20NT\x205\.1/.test(http.oscpu))  == 581317-1.html 581317-1-ref.html # bug 623456 for WinXP
 == 581579-1.html 581579-1-ref.html
 == 582037-1a.html 582037-1-ref.html
 == 582037-1b.html 582037-1-ref.html