bug 909344 - reftest for display of stray control characters. r=roc
authorJonathan Kew <jkew@mozilla.com>
Tue, 12 Nov 2013 09:10:34 +0000
changeset 169365 f8a78d1723d86d83530ad05b32d008772143fa44
parent 169364 1cb4343bea0d992c56c8b817341d0b27f2cf9781
child 169366 3be0a2467fa8c0f47d1da1242220e61dd7d5a3a7
push id3224
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:06:49 +0000
treeherdermozilla-beta@60c04d0987f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs909344
milestone28.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 909344 - reftest for display of stray control characters. r=roc
layout/reftests/text/control-chars-01-notref.html
layout/reftests/text/control-chars-01a.html
layout/reftests/text/control-chars-01b.html
layout/reftests/text/control-chars-01c.html
layout/reftests/text/control-chars-01d.html
layout/reftests/text/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/control-chars-01-notref.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+</head>
+<body>
+foobar
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/control-chars-01a.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+</head>
+<body>
+foo&#x01;bar
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/control-chars-01b.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+</head>
+<body>
+foo&#x1f;bar
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/control-chars-01c.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+</head>
+<body>
+foo&#x7f;bar
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/control-chars-01d.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+</head>
+<body>
+foo&#x8f;bar
+</body>
+</html>
--- a/layout/reftests/text/reftest.list
+++ b/layout/reftests/text/reftest.list
@@ -278,8 +278,14 @@ pref(gfx.font_rendering.graphite.enabled
 == auto-hyphenation-uk-1.html auto-hyphenation-uk-1-ref.html
 
 # osx-font-smoothing - with and without subpixel AA, only under OSX
 fails-if(!cocoaWidget||OSX==10.6||OSX==10.7) != osx-font-smoothing.html osx-font-smoothing-ref.html
 fails-if(!cocoaWidget||OSX==10.6||OSX==10.7) != osx-font-smoothing-2.html osx-font-smoothing-2-notref.html
 == osx-font-smoothing-2.html osx-font-smoothing-2-ref.html
 
 pref(layout.css.text-align-true-value.enabled,true) == text-align-true.html text-align-true-ref.html
+
+# stray control chars should not be invisible, bug 909344
+!= control-chars-01a.html control-chars-01-notref.html
+!= control-chars-01b.html control-chars-01-notref.html
+!= control-chars-01c.html control-chars-01-notref.html
+!= control-chars-01d.html control-chars-01-notref.html