Add fieldset layout test.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Sep 2006 15:28:22 +0000 (15:28 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Sep 2006 15:28:22 +0000 (15:28 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16404 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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

diff --git a/LayoutTests/fast/forms/float-before-fieldset-expected.checksum b/LayoutTests/fast/forms/float-before-fieldset-expected.checksum
new file mode 100644 (file)
index 0000000..9eba0ad
--- /dev/null
@@ -0,0 +1 @@
+3ed3ee5a23c6c181e29d03f56806ba2a
\ No newline at end of file
diff --git a/LayoutTests/fast/forms/float-before-fieldset-expected.png b/LayoutTests/fast/forms/float-before-fieldset-expected.png
new file mode 100644 (file)
index 0000000..8a1ec0d
Binary files /dev/null and b/LayoutTests/fast/forms/float-before-fieldset-expected.png differ
diff --git a/LayoutTests/fast/forms/float-before-fieldset-expected.txt b/LayoutTests/fast/forms/float-before-fieldset-expected.txt
new file mode 100644 (file)
index 0000000..44a4913
--- /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 (floating) {DIV} at (0,0) size 50x400 [bgcolor=#008000]
+      RenderFieldSet {FIELDSET} at (50,0) size 730x53 [border: (2px groove #C0C0C0)]
+        RenderLegend {LEGEND} at (14,0) size 80x18
+          RenderText {#text} at (2,0) size 76x18
+            text run at (2,0) width 76: "Hello world"
+        RenderBlock (anonymous) at (14,23) size 702x18
+          RenderText {#text} at (0,0) size 139x18
+            text run at (0,0) width 139: "Some fieldset content."
diff --git a/LayoutTests/fast/forms/float-before-fieldset.html b/LayoutTests/fast/forms/float-before-fieldset.html
new file mode 100644 (file)
index 0000000..81f54c8
--- /dev/null
@@ -0,0 +1,6 @@
+<html>
+<body>
+<div style="width:50px;height:400px;background-color:green;float:left"></div>
+<fieldset><legend>Hello world</legend>
+Some fieldset content.
+</fieldset>