Bug 1062108 - Test that <space> and <x> have the same width in bold monospace font. r=jdaggett
authorJonathan Kew <jkew@mozilla.com>
Thu, 08 Jan 2015 12:52:03 +0000
changeset 222751 9ae6481e38cd4512fe78ab4be2cb72793f884d87
parent 222750 e40c72c551bb69417eb451230af2b317ff959f6c
child 222752 ed41c08274941657a015e0997e7bf1c5a35de961
push id28073
push userkwierso@gmail.com
push dateFri, 09 Jan 2015 01:08:23 +0000
treeherdermozilla-central@b3f84cf78dc2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdaggett
bugs1062108
milestone37.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 1062108 - Test that <space> and <x> have the same width in bold monospace font. r=jdaggett
layout/reftests/bugs/1062108-1-ref.html
layout/reftests/bugs/1062108-1.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1062108-1-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Bug 1062108</title>
+<style>
+body {
+  font-family: "Droid Sans Mono", Monaco, monospace;
+  font-weight: bold;
+}
+</style>
+</head>
+<body>
+10 spaces: &quot;<span style="color:transparent">xxxxxxxxxx</span>&quot;
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1062108-1.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Bug 1062108</title>
+<style>
+body {
+  font-family: "Droid Sans Mono", Monaco, monospace;
+  font-weight: bold;
+}
+</style>
+</head>
+<body>
+10 spaces: &quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;
+</body>
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1836,16 +1836,17 @@ pref(browser.display.use_document_fonts,
 == 1050493-1.html 1050493-1-ref.html
 == 1050788-1.html about:blank
 == 1053035-1-flex.html 1053035-1-ref.html
 test-pref(layout.css.grid.enabled,true) == 1053035-1-grid.html 1053035-1-ref.html
 == 1059167-1.html 1059167-1-ref.html
 == 1059498-1.html 1059498-1-ref.html
 == 1059498-2.html 1059498-1-ref.html
 == 1059498-3.html 1059498-1-ref.html
+== 1062108-1.html 1062108-1-ref.html
 fails-if(Android) == 1062792-1.html 1062792-1-ref.html
 == 1062963-floatmanager-reflow.html 1062963-floatmanager-reflow-ref.html
 test-pref(dom.webcomponents.enabled,true) == 1066554-1.html 1066554-1-ref.html
 == 1069716-1.html 1069716-1-ref.html
 == 1078262-1.html about:blank
 test-pref(layout.testing.overlay-scrollbars.always-visible,false) == 1081072-1.html 1081072-1-ref.html
 fuzzy-if(winWidget&&!layersGPUAccelerated,1,31) fuzzy-if(B2G,128,75) == 1081185-1.html 1081185-1-ref.html   # fuzzy with event-regions, see bug 1107843
 == 1097437-1.html 1097437-1-ref.html