From e5353c4b1abce6f69ae36acd02879ba3fc1a2d49 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Mon, 5 Jun 2006 03:43:07 +0000 Subject: [PATCH] Adding regression tests. --- .../html/tests/formctls/bugs/bug300474-1.html | 31 + .../html/tests/formctls/bugs/bug300474-2.html | 531 ++++++++++++++++++ layout/html/tests/formctls/bugs/rtest.lst | 2 + 3 files changed, 564 insertions(+) create mode 100644 layout/html/tests/formctls/bugs/bug300474-1.html create mode 100644 layout/html/tests/formctls/bugs/bug300474-2.html diff --git a/layout/html/tests/formctls/bugs/bug300474-1.html b/layout/html/tests/formctls/bugs/bug300474-1.html new file mode 100644 index 000000000000..adb88e746ddb --- /dev/null +++ b/layout/html/tests/formctls/bugs/bug300474-1.html @@ -0,0 +1,31 @@ + + +
+ The buggy display : Select's size attribute is not specified : + +
+
+
+ + What should be displayed : Select's size attribute is forced to 4 : + +
+
+
+ + The width of the widget is also not perfect. +
+ + diff --git a/layout/html/tests/formctls/bugs/bug300474-2.html b/layout/html/tests/formctls/bugs/bug300474-2.html new file mode 100644 index 000000000000..b83ed7030e50 --- /dev/null +++ b/layout/html/tests/formctls/bugs/bug300474-2.html @@ -0,0 +1,531 @@ + + + + Testcase for bug 300474 + + + + +

unspecified size

+ + + + + + + + + + + + + + + + + + + + +
+
+
+

size=0

+ + + + + + + + + + + + + + + + + + +
+
+
+

size=1

+ + + + + + + + + + + + + + + + + + + +
+
+
+

size=4

+ + + + + + + + + + + + + + + + + + + +
+
+
+ +

CSS height:300px

+ + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/html/tests/formctls/bugs/rtest.lst b/layout/html/tests/formctls/bugs/rtest.lst index 0c854b6e30e9..533bb544b7b5 100644 --- a/layout/html/tests/formctls/bugs/rtest.lst +++ b/layout/html/tests/formctls/bugs/rtest.lst @@ -22,6 +22,8 @@ bug231574.html bug26644.html bug26650.html bug28598.html +bug300474-1.html +bug300474-2.html bug33327.html bug35934.html bug36130.html