Fix these tests to not break at smaller window widths or larger fonts. a=test-only
authorBoris Zbarsky <bzbarsky@mit.edu>
Fri, 18 Mar 2011 22:15:14 -0400
changeset 63446 8618a149ea2e
parent 63445 23455773db73
child 63447 f2a9a79139fc
child 63520 c91d12adbc19
child 67759 c7741414ca7a
push id19228
push userbzbarsky@mozilla.com
push date2011-03-19 02:15 +0000
treeherdermozilla-central@8618a149ea2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
milestone2.0b13pre
first release with
nightly linux32
8618a149ea2e / 4.0b13pre / 20110319030418 / files
nightly linux64
8618a149ea2e / 4.0b13pre / 20110319030418 / files
nightly mac
8618a149ea2e / 4.0b13pre / 20110319030418 / files
nightly win32
8618a149ea2e / 4.0b13pre / 20110319030418 / files
nightly win64
8618a149ea2e / 4.0b13pre / 20110319030206 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix these tests to not break at smaller window widths or larger fonts. a=test-only
layout/reftests/table-anonymous-boxes/3-blocks-ref.html
layout/reftests/table-anonymous-boxes/3-tables-ref.html
layout/reftests/table-anonymous-boxes/blocks-divide-tables-1.html
layout/reftests/table-anonymous-boxes/blocks-divide-tables-2.html
layout/reftests/table-anonymous-boxes/infer-cells-1.html
layout/reftests/table-anonymous-boxes/white-space-1.html
--- a/layout/reftests/table-anonymous-boxes/3-blocks-ref.html
+++ b/layout/reftests/table-anonymous-boxes/3-blocks-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
-  <body style="font-family: monospace">
+  <body style="font-family: monospace; white-space: nowrap">
     <div>
       Row 1, Col 1Row 1, Col 2Row 1, Col 3
     </div>
     <div>
       Row 22, Col 1Row 22, Col 2Row 22, Col 3
     </div>
     <div>
       Row 333, Col 1Row 333, Col 2Row 333, Col 3
--- a/layout/reftests/table-anonymous-boxes/3-tables-ref.html
+++ b/layout/reftests/table-anonymous-boxes/3-tables-ref.html
@@ -1,11 +1,11 @@
 <!DOCTYPE html>
 <html>
-  <body style="font-family: monospace">
+  <body style="font-family: monospace; white-space: nowrap">
     <table cellpadding="0" cellspacing="0" style="margin: 0; padding: 0; border: none">
       <tr>
         <td>Row 1, Col 1</td>
         <td>Row 1, Col 2</td>
         <td>Row 1, Col 3</td>
       </tr>
     </table>
     <table cellpadding="0" cellspacing="0" style="margin: 0; padding: 0; border: none">
--- a/layout/reftests/table-anonymous-boxes/blocks-divide-tables-1.html
+++ b/layout/reftests/table-anonymous-boxes/blocks-divide-tables-1.html
@@ -1,16 +1,16 @@
 <!DOCTYPE html>
 <html>
     <title>CSS 2.1 Test Suite: anonymous table boxes</title>
     <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
     <meta name="flags" content="" />
-  <body style="font-family: monospace">
+  <body style="font-family: monospace; white-space: nowrap">
     <span style="display: block"> 
       <span style="display: table-cell">Row 1, Col 1</span>
       <span style="display: table-cell">Row 1, Col 2</span>
       <span style="display: table-cell">Row 1, Col 3</span>
     </span>
     <span style="display: block"> 
       <span style="display: table-cell">Row 22, Col 1</span>
       <span style="display: table-cell">Row 22, Col 2</span>
--- a/layout/reftests/table-anonymous-boxes/blocks-divide-tables-2.html
+++ b/layout/reftests/table-anonymous-boxes/blocks-divide-tables-2.html
@@ -1,16 +1,16 @@
 <!DOCTYPE html>
 <html>
     <title>CSS 2.1 Test Suite: anonymous table boxes</title>
     <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
     <meta name="flags" content="" />
-  <body style="font-family: monospace">
+  <body style="font-family: monospace; white-space: nowrap">
     <span style="display: table-row"> 
       <span style="display: table-cell">Row 1, Col 1</span>
       <span style="display: table-cell">Row 1, Col 2</span>
       <span style="display: table-cell">Row 1, Col 3</span>
     </span>
     <span style="display: block"> 
       <span style="display: table-cell">Row 22, Col 1</span>
       <span style="display: table-cell">Row 22, Col 2</span>
--- a/layout/reftests/table-anonymous-boxes/infer-cells-1.html
+++ b/layout/reftests/table-anonymous-boxes/infer-cells-1.html
@@ -1,16 +1,16 @@
 <!DOCTYPE html>
 <html>
     <title>CSS 2.1 Test Suite: anonymous table boxes</title>
     <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes"/>
     <meta name="flags" content="" />
-  <body style="font-family: monospace">
+  <body style="font-family: monospace; white-space: nowrap">
     <!-- The test in the first row might not be correct, depending on spec
          clarifications -->
     <span style="display: table-row"> 
       <span>Row 1,</span>
       <span>Col 1Row 1,</span>
       <span>Col 2Row 1,</span>
       <span>Col 3</span>
     </span>
--- a/layout/reftests/table-anonymous-boxes/white-space-1.html
+++ b/layout/reftests/table-anonymous-boxes/white-space-1.html
@@ -9,17 +9,17 @@
     <script>
       function doTest() {
         var n = document.getElementById("t").nextSibling;
         n.data = "Row 22, Col 1Row 22, Col 2Row 22, Col 3";
         document.documentElement.className = "";
       }
     </script>
   </head>
-  <body style="font-family: monospace" onload="doTest()">
+  <body style="font-family: monospace; white-space: nowrap" onload="doTest()">
     <span style="display: table-cell">Row 1, Col 1</span>
     <span style="display: table-cell">Row 1, Col 2</span>
     <span style="display: table-cell" id="t">Row 1, Col 3</span>
     <span style="display: table-cell">Row 333, Col 1</span>
     <span style="display: table-cell">Row 333, Col 2</span>
     <span style="display: table-cell">Row 333, Col 3</span>
   </body>
 </html>