Bug 1099557 - Reftest to check that stray control characters are visible in HTML content. r=dbaron
authorJonathan Kew <jkew@mozilla.com>
Fri, 11 Sep 2015 16:47:34 +0100
changeset 294645 6227331e17ed5320b7b997d72704f8939bced596
parent 294644 ce588ba0323d873829bbf3e5505619eaeb3f7236
child 294646 c6ed7442143b3c00d139d817f2e768a7cd8fe42c
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs1099557
milestone43.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 1099557 - Reftest to check that stray control characters are visible in HTML content. r=dbaron
layout/reftests/text/control-chars-04-notref.html
layout/reftests/text/control-chars-04a.html
layout/reftests/text/control-chars-04b.html
layout/reftests/text/control-chars-04c.html
layout/reftests/text/control-chars-04d.html
layout/reftests/text/reftest.list
copy from layout/reftests/text/control-chars-01-notref.html
copy to layout/reftests/text/control-chars-04-notref.html
--- a/layout/reftests/text/control-chars-01-notref.html
+++ b/layout/reftests/text/control-chars-04-notref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="utf-8">
 </head>
 <body>
-<textarea style="-moz-appearance:none; width:300px; height:300px;">
+<div>
 foobar
-</textarea>
+</div>
 </body>
 </html>
copy from layout/reftests/text/control-chars-01a.html
copy to layout/reftests/text/control-chars-04a.html
--- a/layout/reftests/text/control-chars-01a.html
+++ b/layout/reftests/text/control-chars-04a.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="utf-8">
 </head>
 <body>
-<textarea style="-moz-appearance:none; width:300px; height:300px;">
+<div>
 foo&#x01;bar
-</textarea>
+</div>
 </body>
 </html>
copy from layout/reftests/text/control-chars-01b.html
copy to layout/reftests/text/control-chars-04b.html
--- a/layout/reftests/text/control-chars-01b.html
+++ b/layout/reftests/text/control-chars-04b.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="utf-8">
 </head>
 <body>
-<textarea style="-moz-appearance:none; width:300px; height:300px;">
+<div>
 foo&#x1f;bar
-</textarea>
+</div>
 </body>
 </html>
copy from layout/reftests/text/control-chars-01c.html
copy to layout/reftests/text/control-chars-04c.html
--- a/layout/reftests/text/control-chars-01c.html
+++ b/layout/reftests/text/control-chars-04c.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="utf-8">
 </head>
 <body>
-<textarea style="-moz-appearance:none; width:300px; height:300px;">
+<div>
 foo&#x7f;bar
-</textarea>
+</div>
 </body>
 </html>
copy from layout/reftests/text/control-chars-01d.html
copy to layout/reftests/text/control-chars-04d.html
--- a/layout/reftests/text/control-chars-01d.html
+++ b/layout/reftests/text/control-chars-04d.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="utf-8">
 </head>
 <body>
-<textarea style="-moz-appearance:none; width:300px; height:300px;">
+<div>
 foo&#x8f;bar
-</textarea>
+</div>
 </body>
 </html>
--- a/layout/reftests/text/reftest.list
+++ b/layout/reftests/text/reftest.list
@@ -300,19 +300,23 @@ pref(gfx.font_rendering.graphite.enabled
 
 # osx-font-smoothing - with and without subpixel AA, only under OSX
 fails-if(!cocoaWidget||OSX==1006||OSX==1007) != osx-font-smoothing.html osx-font-smoothing-ref.html
 fails-if(!cocoaWidget||OSX==1006||OSX==1007) != 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
+# stray control chars should be visible by default, bug 1099557
 != 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
 != control-chars-02.html control-chars-02-notref.html
 == control-chars-03a.html control-chars-03-ref.html
 == control-chars-03b.html control-chars-03-ref.html
+!= control-chars-04a.html control-chars-04-notref.html
+!= control-chars-04b.html control-chars-04-notref.html
+!= control-chars-04c.html control-chars-04-notref.html
+!= control-chars-04d.html control-chars-04-notref.html
 
 # font fallback for <space> when not supported in the primary font family - bug 970891
 HTTP(..) == space-font-1.html space-font-1-ref.html