From 8b86c5b30717d4d5ff9dcb542a03a2ae66a243e6 Mon Sep 17 00:00:00 2001 From: Mounir Lamouri Date: Thu, 22 Apr 2010 07:03:00 -0400 Subject: [PATCH] Bug 346485 - "Implement output element -- Test" [r=smaug] --- content/base/test/Makefile.in | 1 + content/base/test/test_bug346485.html | 77 ++++++++ content/html/content/test/Makefile.in | 1 + content/html/content/test/test_bug346485.html | 179 ++++++++++++++++++ layout/reftests/forms/output/output-1.html | 7 + layout/reftests/forms/output/output-2.html | 7 + layout/reftests/forms/output/output-3.html | 7 + layout/reftests/forms/output/output-4.html | 7 + layout/reftests/forms/output/output-5.html | 18 ++ layout/reftests/forms/output/output-6.html | 18 ++ layout/reftests/forms/output/output-7.html | 22 +++ .../reftests/forms/output/output-ref-2.html | 6 + .../reftests/forms/output/output-ref-3.html | 6 + layout/reftests/forms/output/output-ref.html | 6 + layout/reftests/forms/output/reftest.list | 7 + layout/reftests/forms/reftest.list | 3 + 16 files changed, 372 insertions(+) create mode 100644 content/base/test/test_bug346485.html create mode 100644 content/html/content/test/test_bug346485.html create mode 100644 layout/reftests/forms/output/output-1.html create mode 100644 layout/reftests/forms/output/output-2.html create mode 100644 layout/reftests/forms/output/output-3.html create mode 100644 layout/reftests/forms/output/output-4.html create mode 100644 layout/reftests/forms/output/output-5.html create mode 100644 layout/reftests/forms/output/output-6.html create mode 100644 layout/reftests/forms/output/output-7.html create mode 100644 layout/reftests/forms/output/output-ref-2.html create mode 100644 layout/reftests/forms/output/output-ref-3.html create mode 100644 layout/reftests/forms/output/output-ref.html create mode 100644 layout/reftests/forms/output/reftest.list diff --git a/content/base/test/Makefile.in b/content/base/test/Makefile.in index d6bae010e4a2..10edfbc9b500 100644 --- a/content/base/test/Makefile.in +++ b/content/base/test/Makefile.in @@ -378,6 +378,7 @@ _TEST_FILES = test_bug5141.html \ file_csp_redirects_page.sjs \ file_csp_redirects_main.html \ file_csp_redirects_resource.sjs \ + test_bug346485.html \ $(NULL) # This test fails on the Mac for some reason diff --git a/content/base/test/test_bug346485.html b/content/base/test/test_bug346485.html new file mode 100644 index 000000000000..fdf86a2f81c0 --- /dev/null +++ b/content/base/test/test_bug346485.html @@ -0,0 +1,77 @@ + + + + + Test for Bug 346485 + + + + + +Mozilla Bug 346485 +

+ +
+
+
+ + diff --git a/content/html/content/test/Makefile.in b/content/html/content/test/Makefile.in index 4a82191b2f01..fc5621fa25fa 100644 --- a/content/html/content/test/Makefile.in +++ b/content/html/content/test/Makefile.in @@ -160,6 +160,7 @@ _TEST_FILES = test_bug589.html \ test_bug458037.xhtml \ test_bug559284.html \ test_bug551670.html \ + test_bug346485.html \ $(NULL) libs:: $(_TEST_FILES) diff --git a/content/html/content/test/test_bug346485.html b/content/html/content/test/test_bug346485.html new file mode 100644 index 000000000000..e0c382ada76b --- /dev/null +++ b/content/html/content/test/test_bug346485.html @@ -0,0 +1,179 @@ + + + + + Test for Bug 346485 + + + + + +Mozilla Bug 346485 +

+ + +
+
+
+ + diff --git a/layout/reftests/forms/output/output-1.html b/layout/reftests/forms/output/output-1.html new file mode 100644 index 000000000000..0fdb2ae8b950 --- /dev/null +++ b/layout/reftests/forms/output/output-1.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/layout/reftests/forms/output/output-2.html b/layout/reftests/forms/output/output-2.html new file mode 100644 index 000000000000..882e805ba0b9 --- /dev/null +++ b/layout/reftests/forms/output/output-2.html @@ -0,0 +1,7 @@ + + + + + foo + + diff --git a/layout/reftests/forms/output/output-3.html b/layout/reftests/forms/output/output-3.html new file mode 100644 index 000000000000..ecb17e9159d3 --- /dev/null +++ b/layout/reftests/forms/output/output-3.html @@ -0,0 +1,7 @@ + + + + + foobar + + diff --git a/layout/reftests/forms/output/output-4.html b/layout/reftests/forms/output/output-4.html new file mode 100644 index 000000000000..b0ce800beb3f --- /dev/null +++ b/layout/reftests/forms/output/output-4.html @@ -0,0 +1,7 @@ + + + + + foo + + diff --git a/layout/reftests/forms/output/output-5.html b/layout/reftests/forms/output/output-5.html new file mode 100644 index 000000000000..16bcf357a676 --- /dev/null +++ b/layout/reftests/forms/output/output-5.html @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/layout/reftests/forms/output/output-6.html b/layout/reftests/forms/output/output-6.html new file mode 100644 index 000000000000..b7e9ede758df --- /dev/null +++ b/layout/reftests/forms/output/output-6.html @@ -0,0 +1,18 @@ + + + + + + + + + diff --git a/layout/reftests/forms/output/output-7.html b/layout/reftests/forms/output/output-7.html new file mode 100644 index 000000000000..0ec10f3c3133 --- /dev/null +++ b/layout/reftests/forms/output/output-7.html @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/layout/reftests/forms/output/output-ref-2.html b/layout/reftests/forms/output/output-ref-2.html new file mode 100644 index 000000000000..ad78e10e5612 --- /dev/null +++ b/layout/reftests/forms/output/output-ref-2.html @@ -0,0 +1,6 @@ + + + + foobar + + diff --git a/layout/reftests/forms/output/output-ref-3.html b/layout/reftests/forms/output/output-ref-3.html new file mode 100644 index 000000000000..cae43bf45b24 --- /dev/null +++ b/layout/reftests/forms/output/output-ref-3.html @@ -0,0 +1,6 @@ + + + + foo + + diff --git a/layout/reftests/forms/output/output-ref.html b/layout/reftests/forms/output/output-ref.html new file mode 100644 index 000000000000..01d12af2340c --- /dev/null +++ b/layout/reftests/forms/output/output-ref.html @@ -0,0 +1,6 @@ + + + + foo + + diff --git a/layout/reftests/forms/output/reftest.list b/layout/reftests/forms/output/reftest.list new file mode 100644 index 000000000000..1bd798272e4b --- /dev/null +++ b/layout/reftests/forms/output/reftest.list @@ -0,0 +1,7 @@ +== output-1.html about:blank +== output-2.html output-ref.html +== output-3.html output-ref-2.html +== output-4.html output-ref-3.html +== output-5.html output-ref.html +== output-6.html output-ref.html +== output-7.html output-ref.html diff --git a/layout/reftests/forms/reftest.list b/layout/reftests/forms/reftest.list index 1ab7c6643b9b..d7592a662c3b 100644 --- a/layout/reftests/forms/reftest.list +++ b/layout/reftests/forms/reftest.list @@ -43,3 +43,6 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") != textarea-rtl.html textarea-no-resize.ht # placeholder include placeholder/reftest.list + +# output element +include output/reftest.list