Fix these tests to not break at smaller window widths or larger fonts. a=test-only

This commit is contained in:
Boris Zbarsky 2011-03-18 22:15:14 -04:00
parent 8db01a9f1e
commit 9c5494abae
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<!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>

View File

@ -1,6 +1,6 @@
<!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>

View File

@ -5,7 +5,7 @@
<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>

View File

@ -5,7 +5,7 @@
<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>

View File

@ -5,7 +5,7 @@
<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">

View File

@ -14,7 +14,7 @@
}
</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>