Bug 1022481 - add reftest for no doc fonts case. r=heycam
authorJohn Daggett <jdaggett@mozilla.com>
Fri, 13 Jun 2014 10:32:54 +0900
changeset 188551 6c6c6629223884c69a7bdb9caaa92b483301d8d1
parent 188550 63c8d0d214d7cd3bf6a017dd2ad4fca57d7e11cf
child 188552 161cad49ab7710afc96a3f98d8eada353d81f186
push id44842
push userjdaggett@mozilla.com
push dateFri, 13 Jun 2014 01:33:23 +0000
treeherdermozilla-inbound@6c6c66292238 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1022481
milestone33.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
Bug 1022481 - add reftest for no doc fonts case. r=heycam
layout/reftests/bugs/1022481-1-ref.html
layout/reftests/bugs/1022481-1.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1022481-1-ref.html
@@ -0,0 +1,36 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Simple generics test</title>
+<meta charset="UTF-8">
+<style>
+
+body {
+  margin: 20px;
+}
+
+p {
+  margin: 0;
+  line-height: 1.2;
+  font-size: 25px;
+}
+
+</style>
+
+</head>
+<body>
+<p>default font</p>
+<p>serif</p>
+<p>sans-serif</p>
+<p style="font-family: monospace">monospace</p>
+<p style="font-family: monospace">-moz-fixed</p>
+<p>unknown, serif</p>
+<p>unknown, sans-serif</p>
+<p style="font-family: monospace">unknown, monospace</p>
+<p style="font-family: monospace">unknown, -moz-fixed</p>
+<p>unknown, serif, monospace</p>
+<p>unknown, sans-serif, -moz-fixed</p>
+<p style="font-family: monospace">unknown, monospace, serif</p>
+<p style="font-family: monospace">unknown, -moz-fixed, sans-serif</p>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1022481-1.html
@@ -0,0 +1,36 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Simple generics test</title>
+<meta charset="UTF-8">
+<style>
+
+body {
+  margin: 20px;
+}
+
+p {
+  margin: 0;
+  line-height: 1.2;
+  font-size: 25px;
+}
+
+</style>
+
+</head>
+<body>
+<p>default font</p>
+<p style="font-family: serif">serif</p>
+<p style="font-family: sans-serif">sans-serif</p>
+<p style="font-family: monospace">monospace</p>
+<p style="font-family: -moz-fixed">-moz-fixed</p>
+<p style="font-family: unknown, serif">unknown, serif</p>
+<p style="font-family: unknown, sans-serif">unknown, sans-serif</p>
+<p style="font-family: unknown, monospace">unknown, monospace</p>
+<p style="font-family: unknown, -moz-fixed">unknown, -moz-fixed</p>
+<p style="font-family: unknown, serif, monospace">unknown, serif, monospace</p>
+<p style="font-family: unknown, sans-serif, -moz-fixed">unknown, sans-serif, -moz-fixed</p>
+<p style="font-family: unknown, monospace, serif">unknown, monospace, serif</p>
+<p style="font-family: unknown, -moz-fixed, sans-serif">unknown, -moz-fixed, sans-serif</p>
+</body>
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1806,8 +1806,9 @@ fails-if(B2G&&browserIsRemote) == 983084
 fails-if(B2G&&browserIsRemote) == 983084-3.html 983084-1-ref.html
 == 983691-1.html 983691-ref.html
 == 985303-1a.html 985303-1-ref.html
 == 985303-1b.html 985303-1-ref.html
 == 987680-1.html 987680-1-ref.html
 fuzzy-if(/^Windows\x20NT\x206\.2/.test(http.oscpu),1,24) == 991046-1.html 991046-1-ref.html
 pref(layout.css.overflow-clip-box.enabled,true) == 992447.html 992447-ref.html
 pref(layout.css.sticky.enabled,true) == 1005405-1.html 1005405-1-ref.html
+pref(browser.display.use_document_fonts,0) == 1022481-1.html 1022481-1-ref.html