Bug 492627 - Remove Placeholder Continuations [Tests for paginated <br clear>] r=roc

This commit is contained in:
fantasai 2009-08-31 11:25:37 -07:00
parent 059cc95c6b
commit ab32a11bb2
11 changed files with 402 additions and 8 deletions

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html class="reftest-print">
<style type="text/css">
html, body {
margin: 0;
padding: 0;
height: 100%;
}
.float {
float: right;
width: 15px;
background: aqua;
height: 5in;
}
.L {
float: left;
}
.container {
width: 100%;
background: red;
}
.clear {
border-bottom: solid orange;
}
</style>
<div class="container">
<div class="float L"></div>
<div class="float R"></div>
</div>
<div class="clear">
<br clear="all">
</div>

View File

@ -0,0 +1,24 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html class="reftest-print">
<style type="text/css">
html, body {
margin: 0;
padding: 0;
height: 100%;
}
.container {
border: 15px aqua;
border-style: none solid;
height: 5in;
}
.clear {
border-bottom: solid orange;
background: red;
}
</style>
<div class="container">
</div>
<div class="clear">
</div>

View File

@ -0,0 +1,43 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<style type="text/css">
.multicol {
margin: 1em;
border: solid silver;
width: 300px;
-moz-column-width: 100px;
-moz-column-gap: 0;
height: 100px;
}
.float {
float: right;
width: 15px;
background: aqua;
height: 250px;
}
.L {
float: left;
}
.container {
width: 100%;
background: red;
}
.clear {
border-bottom: solid orange;
}
</style>
<p>The orange line should be halfway down the third column
(immediately after the end of the aqua lines).
<div class="multicol">
<div class="container">
<div class="float L"></div>
<div class="float R"></div>
</div>
<div class="clear">
<br clear="all">
</div>
</div>

View File

@ -0,0 +1,31 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<style type="text/css">
.multicol {
margin: 1em;
border: solid silver;
width: 300px;
-moz-column-width: 100px;
-moz-column-gap: 0;
height: 100px;
}
.container {
border: 15px aqua;
border-style: none solid;
height: 250px;
}
.clear {
border-bottom: solid orange;
background: red;
}
</style>
<p>The orange line should be halfway down the third column
(immediately after the end of the aqua lines).
<div class="multicol">
<div class="container">
</div>
<div class="clear">
</div>
</div>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html class="reftest-print">
<style type="text/css">
html, body {
margin: 0;
padding: 0;
height: 100%;
}
.float {
float: right;
width: 15px;
background: aqua;
height: 5in;
}
.L {
float: left;
}
.container {
width: 100%;
}
.clear {
border-bottom: solid orange;
background: red;
}
</style>
<div class="container">
<div class="float L"></div>
<div class="float R"></div>
<br clear="all">
</div>
<div class="clear">
</div>

View File

@ -0,0 +1,43 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<style type="text/css">
.multicol {
margin: 1em;
border: solid silver;
width: 300px;
-moz-column-width: 100px;
-moz-column-gap: 0;
height: 100px;
}
.float {
float: right;
width: 15px;
background: aqua;
height: 250px;
}
.L {
float: left;
}
.container {
width: 100%;
}
.clear {
border-bottom: solid orange;
background: red;
}
</style>
<p>The orange line should be halfway down the third column
(immediately after the end of the aqua lines).
<div class="multicol">
<div class="container">
<div class="float L"></div>
<div class="float R"></div>
<br clear="all">
</div>
<div class="clear">
</div>
</div>

View File

@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html class="reftest-print">
<style type="text/css">
html, body {
margin: 0;
padding: 0;
height: 100%;
}
.float {
float: right;
width: 15px;
background: aqua;
height: 5in;
}
.L {
float: left;
}
.container {
width: 100%;
height: 2in;
}
.clear {
clear: left;
border-bottom: solid orange;
background: red;
}
</style>
<div class="container">
<div class="float L"></div>
<div class="float R"></div>
</div>
<div class="clear"></div>

View File

@ -0,0 +1,43 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<style type="text/css">
.multicol {
margin: 1em;
border: solid silver;
width: 300px;
-moz-column-width: 100px;
-moz-column-gap: 0;
height: 100px;
}
.float {
float: right;
width: 15px;
background: aqua;
height: 250px;
}
.L {
float: left;
}
.container {
width: 100%;
background: red;
}
.clear {
clear: left;
border-bottom: solid orange;
background: red;
}
</style>
<p>The orange line should be halfway down the third column
(immediately after the end of the aqua lines).
<div class="multicol">
<div class="container">
<div class="float L"></div>
<div class="float R"></div>
</div>
<div class="clear"></div>
</div>

View File

@ -0,0 +1,45 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html class="reftest-print">
<style type="text/css">
html, body {
margin: 0;
padding: 0;
height: 100%;
}
.step {
height: 1in;
border: 15px aqua;
border-style: none solid;
}
.float {
float: right;
width: 15px;
background: aqua;
height: 4in;
}
.L {
float: left;
}
.container {
width: 100%;
background: red;
}
.clear {
clear: left;
height: 0;
background: red;
}
.bar {
border-bottom: orange solid;
}
</style>
<div class="step"></div>
<div class="container">
<div class="float L"></div>
<div class="float R"></div>
</div>
<div class="clear"><div class="bar"></div></div>

View File

@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<style type="text/css">
.multicol {
margin: 1em;
border: solid silver;
width: 300px;
-moz-column-width: 100px;
-moz-column-gap: 0;
height: 100px;
}
.step {
height: 10px;
border: 15px aqua;
border-style: none solid;
}
.float {
float: right;
width: 15px;
background: aqua;
height: 240px;
}
.L {
float: left;
}
.container {
width: 100%;
background: red;
}
.clear {
clear: left;
height: 0;
background: red;
}
.bar {
border-bottom: orange solid;
}
</style>
<p>The orange line should be halfway down the third column
(immediately after the end of the aqua lines).
<div class="multicol">
<div class="step"></div>
<div class="container">
<div class="float L"></div>
<div class="float R"></div>
</div>
<div class="clear"><div class="bar"></div></div>
</div>

View File

@ -1,10 +1,9 @@
# Sanity check
== blank.html blank.html
#
# Pagination tests
== abspos-breaking-000.xhtml abspos-breaking-000.ref.xhtml
== abspos-breaking-001.xhtml abspos-breaking-000.ref.xhtml
== abspos-breaking-002.xhtml abspos-breaking-000.ref.xhtml
== abspos-overflow-01.xhtml abspos-overflow-01.ref.xhtml
== abspos-overflow-01-cols.xhtml abspos-overflow-01-cols.ref.xhtml
== dynamic-abspos-overflow-01-cols.xhtml dynamic-abspos-overflow-01-cols.ref.xhtml
== border-breaking-000-cols.xhtml border-breaking-000-cols.ref.xhtml
== border-breaking-001-cols.xhtml border-breaking-001-cols.ref.xhtml
== border-breaking-002-cols.xhtml border-breaking-002-cols.ref.xhtml
@ -20,9 +19,15 @@ fails == border-breaking-004-cols.xhtml border-breaking-002-cols.ref.xhtml
== content-inserted-007.xhtml content-inserted-002.ref.xhtml
== content-inserted-008.xhtml content-inserted-001.ref.xhtml
== content-inserted-009.xhtml content-inserted-002.ref.xhtml
== abspos-breaking-000.xhtml abspos-breaking-000.ref.xhtml
== abspos-breaking-001.xhtml abspos-breaking-000.ref.xhtml
== abspos-breaking-002.xhtml abspos-breaking-000.ref.xhtml
== dynamic-abspos-overflow-01-cols.xhtml dynamic-abspos-overflow-01-cols.ref.xhtml
fails == float-clear-000.html float-clear-000.ref.html
fails == float-clear-001.html float-clear-000.ref.html
fails == float-clear-002.html float-clear-000.ref.html # bug 507510
fails == float-clear-003.html float-clear-000.ref.html # bug 377204
== float-clear-000-print.html float-clear-000-print.ref.html
== float-clear-001-print.html float-clear-000-print.ref.html
fails == float-clear-002-print.html float-clear-000-print.ref.html # bug 507510
fails == float-clear-003-print.html float-clear-000-print.ref.html # bug 377204
fails == float-continuations-000.html float-continuations-000.ref.html
== resize-reflow-000.html resize-reflow-000.ref.html
== resize-reflow-001.html resize-reflow-001.ref.html