reftest for Incorrect line break with floating element inside a table element - bug 371354 r=bernd
authorDaniel.S <crazy-daniel@gmx.de>
Sat, 18 Apr 2009 10:22:34 +0200
changeset 27452 753004a666684070985333761a9cf071eed7ec7d
parent 27451 dccda3f7724b14e9d0ae26ad3e125ae3d1f676be
child 27454 b618ca270e9b5424e9e23c279743a62a068c2538
push idunknown
push userunknown
push dateunknown
reviewersbernd
bugs371354
milestone1.9.2a1pre
reftest for Incorrect line break with floating element inside a table element - bug 371354 r=bernd
layout/reftests/bugs/371354-1-ref.html
layout/reftests/bugs/371354-1.html
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/371354-1-ref.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+<head>
+<style type="text/css">
+td * {
+ vertical-align: top;
+}
+img:first-child {
+ float: right;
+}
+</style>
+</head>
+<body>
+<table border="1">
+ <tr>
+  <td><span>Header 1</span><img src="square-outline-32x32.png" alt=""></td>
+  <td><img src="square-outline-32x32.png" alt="">Header 2</td>
+ </tr>
+ <tr>
+  <td>short</td>
+  <td>long long long long long</td>
+ </tr>
+</table>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/371354-1.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+<head>
+<style type="text/css">
+span {
+ float: left;
+}
+img {
+ float: right;
+}
+</style>
+</head>
+<body>
+<table border="1">
+ <tr>
+  <td><span>Header 1</span> <img src="square-outline-32x32.png" alt=""></td>
+  <td><span>Header 2</span> <img src="square-outline-32x32.png" alt=""></td>
+ </tr>
+ <tr>
+  <td>short</td>
+  <td>long long long long long</td>
+ </tr>
+</table>
+</body>
+</html>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -564,16 +564,17 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") ==
 == 370525-rowspan-4.html 370525-rowspan-4-ref.html
 == 370525-sib.html 370525-sib-ref.html
 == 370586-1.xhtml 370586-1-ref.xhtml
 == 370629-1.html 370629-1-ref.html
 == 370629-2.html 370629-2-ref.html
 == 370692-1.xhtml 370692-1-ref.xhtml
 == 371041-1.html 371041-1-ref.html
 == 371043-1.html 371043-1-ref.html
+== 371354-1.html 371354-1-ref.html
 == 371483-1.html about:blank # assertion test
 == 371561-1.html 371561-1-ref.html
 != 371681-1.xhtml about:blank
 == 371925-1a.html 371925-1-ref.html
 == 371925-1b.html 371925-1-ref.html
 == 372037-1.html 372037-1-ref.html
 == 372063-1.html 372063-1-ref.html
 == 372323-1.xhtml 372323-1-ref.xhtml