Add fieldset layout test.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Sep 2006 07:28:34 +0000 (07:28 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 12 Sep 2006 07:28:34 +0000 (07:28 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16320 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/forms/fieldset-with-float-expected.checksum [new file with mode: 0644]
LayoutTests/fast/forms/fieldset-with-float-expected.png [new file with mode: 0644]
LayoutTests/fast/forms/fieldset-with-float-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/fieldset-with-float.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/forms/fieldset-with-float-expected.checksum b/LayoutTests/fast/forms/fieldset-with-float-expected.checksum
new file mode 100644 (file)
index 0000000..616842d
--- /dev/null
@@ -0,0 +1 @@
+607c573939d23bfb866dc9c1ecf5d583
\ No newline at end of file
diff --git a/LayoutTests/fast/forms/fieldset-with-float-expected.png b/LayoutTests/fast/forms/fieldset-with-float-expected.png
new file mode 100644 (file)
index 0000000..708a3ae
Binary files /dev/null and b/LayoutTests/fast/forms/fieldset-with-float-expected.png differ
diff --git a/LayoutTests/fast/forms/fieldset-with-float-expected.txt b/LayoutTests/fast/forms/fieldset-with-float-expected.txt
new file mode 100644 (file)
index 0000000..709342a
--- /dev/null
@@ -0,0 +1,11 @@
+layer at (0,0) size 800x600
+  RenderView at (0,0) size 800x600
+layer at (0,0) size 800x335
+  RenderBlock {HTML} at (0,0) size 800x335
+    RenderBody {BODY} at (8,8) size 784x319
+      RenderFieldSet {FIELDSET} at (2,0) size 780x319 [border: (2px groove #C0C0C0)]
+        RenderBlock (floating) {DIV} at (14,7) size 300x300 [bgcolor=#008000]
+        RenderBlock {DIV} at (14,7) size 752x50
+          RenderText {#text} at (300,0) size 86x18
+            text run at (300,0) width 86: "Other content"
+          RenderText {#text} at (0,0) size 0x0
diff --git a/LayoutTests/fast/forms/fieldset-with-float.html b/LayoutTests/fast/forms/fieldset-with-float.html
new file mode 100644 (file)
index 0000000..9a9e9f0
--- /dev/null
@@ -0,0 +1,5 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<fieldset>
+<div style="float:left;height:300px;width:300px;background-color:green"></div>
+<div style="height:50px">Other content
+</fieldset>