diff --git a/layout/html/tests/formctls/bugs/bug40596-1.html b/layout/html/tests/formctls/bugs/bug40596-1.html new file mode 100644 index 000000000000..87bc6233fe12 --- /dev/null +++ b/layout/html/tests/formctls/bugs/bug40596-1.html @@ -0,0 +1,35 @@ + + +
+ This is the way both tables should be laid out...
+ + + + + +
+   + +   +
+ +
+
+ This is the same table, only it has an input box with width = 100% in the right-most cell
+ Note that the width of the input box is not constrained by its container, as it should be
+ + + + + +
+   + + +
+ +
+ + + + diff --git a/layout/html/tests/formctls/bugs/bug40596-2.html b/layout/html/tests/formctls/bugs/bug40596-2.html new file mode 100644 index 000000000000..c59ffca2abbf --- /dev/null +++ b/layout/html/tests/formctls/bugs/bug40596-2.html @@ -0,0 +1,50 @@ + + + +
+ This is the way all the tables below should be laid out...
+ + + + + +
+   + +   +
+ +
+
+ This is the same table, only it has an input box with width = 100% in the right-most cell
+ Note that the width of the input box is not constrained by its container, as it should be
+ + + + + +
+   + + +
+ +
+
+ This is the same table, only it has an input box with width = auto in the right-most cell
+ Note that we get the same result as above.
+ + + + + +
+   + + +
+ +
+ + + diff --git a/layout/html/tests/formctls/bugs/bug40596-3.html b/layout/html/tests/formctls/bugs/bug40596-3.html new file mode 100644 index 000000000000..3241b0af9559 --- /dev/null +++ b/layout/html/tests/formctls/bugs/bug40596-3.html @@ -0,0 +1,50 @@ + + + +
+ This is the way all the tables below should be laid out...
+ + + + + +
+   + +   +
+ +
+
+ This is the same table, only it has an input box with width = 100% in the right-most cell
+ Note that the width of the input box is not constrained by its container, as it should be
+ + + + + +
+   + + +
+ +
+
+ This is the same table, only it has an input box with width = auto in the right-most cell
+ Note that we get the same result as above.
+ + + + + +
+   + + +
+ +
+ + + diff --git a/layout/html/tests/formctls/bugs/rtest.lst b/layout/html/tests/formctls/bugs/rtest.lst index 2ccc2d9943c6..0c854b6e30e9 100644 --- a/layout/html/tests/formctls/bugs/rtest.lst +++ b/layout/html/tests/formctls/bugs/rtest.lst @@ -30,6 +30,9 @@ bug37261.html bug37459.html bug39425.html bug4050.html +bug40596-1.html +bug40596-2.html +bug40596-3.html bug41049.html bug41050.html bug42481.html