Add testcase for computing the shrink-wrapping size of table outer frames correctly. b=363402

This commit is contained in:
dbaron@dbaron.org 2008-02-28 09:55:29 -08:00
parent 898743fc16
commit cb1f666485
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title>Testcase, bug 363402</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<table border align="left">
<tr><td>table</td></tr>
<tr><td>table</td></tr>
<tr><td>table</td></tr>
</table>
<p>This is text that should flow around the table.</p>
</body>
</html>

View File

@ -0,0 +1,25 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title>Testcase, bug 363402</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
caption span { visibility: hidden; }
</style>
</head>
<body>
<table border align="left">
<caption align="bottom"><span>x x x x x x x x x x x x x x x x x x x x x</span></caption>
<tr><td>table</td></tr>
<tr><td>table</td></tr>
<tr><td>table</td></tr>
</table>
<p>This is text that should flow around the table.</p>
</body>
</html>

View File

@ -373,6 +373,7 @@ skip-if(MOZ_WIDGET_TOOLKIT=="windows") == 347496-1.xhtml 347496-1-ref.xhtml # Bu
== 363329-1.html 363329-1-ref.html
== 363329-2.html 363329-2-ref.html
== 363370-1.html 363370-1-ref.html
== 363402-1.html 363402-1-ref.html
== 363637-1.html 363637-1-ref.html
== 363858-1.html 363858-1-ref.html
== 363858-2.html 363858-2-ref.html