summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/97777-2-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/97777-2-ref.html')
-rw-r--r--layout/reftests/bugs/97777-2-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/97777-2-ref.html b/layout/reftests/bugs/97777-2-ref.html
new file mode 100644
index 000000000..6d469a152
--- /dev/null
+++ b/layout/reftests/bugs/97777-2-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
+<html>
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
+ <title>Bug 97777-2 Reference</title>
+ <style type="text/css">
+ table {position: absolute; border-collapse: collapse; background: #CCCCCC}
+ div.sub {border: solid blue}
+ p {border: solid red}
+ td {padding: 0px; text-align: center}
+ </style>
+</head>
+<body>
+<table style="top: 16.5em"><tr><td>
+ <p style="float: left">Float</p>
+ <div class="sub" style="-moz-float-edge: margin-box">Should be shrink-wrapped [align="center", float-edge="margin-box"]</div>
+</table>
+<table style="top: 20.5em"><tr><td>
+ <p style="float: right">Float</p>
+ <div class="sub" style="-moz-float-edge: margin-box">Should be shrink-wrapped [align="center", float-edge="margin-box"]</div>
+</table>
+</body>
+</html>