Add encoding layout test for forms.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2006 23:32:30 +0000 (23:32 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2006 23:32:30 +0000 (23:32 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17178 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/forms/encoding-test-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/encoding-test.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/forms/encoding-test-expected.txt b/LayoutTests/fast/forms/encoding-test-expected.txt
new file mode 100644 (file)
index 0000000..2ee30a0
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+  RenderBlock {HTML} at (0,0) size 800x600
+    RenderBody {BODY} at (8,8) size 784x584
+      RenderBlock {FORM} at (0,0) size 784x23
+        RenderTextField {INPUT} at (2,2) size 148x19 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+        RenderText {#text} at (0,0) size 0x0
+      RenderBlock (anonymous) at (0,39) size 784x18
+        RenderText {#text} at (0,0) size 121x18
+          text run at (0,0) width 121: "multipart/form-data"
+layer at (13,13) size 142x13
+  RenderBlock {DIV} at (3,3) size 142x13
diff --git a/LayoutTests/fast/forms/encoding-test.html b/LayoutTests/fast/forms/encoding-test.html
new file mode 100644 (file)
index 0000000..675f0e7
--- /dev/null
@@ -0,0 +1,7 @@
+<form>
+<input type=text>
+</form>
+<script>
+document.forms[0].enctype = 'multipart/formdata';
+document.write(document.forms[0].encoding);
+</script>