2009-02-18 Dimitri Glazkov <dglazkov@chromium.org>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Feb 2009 00:13:03 +0000 (00:13 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Feb 2009 00:13:03 +0000 (00:13 +0000)
        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=24012
        Convert inline-ignored-on-legend to text-only test.

        * fast/forms/inline-ignored-on-legend-expected.txt: Added.
        * fast/forms/inline-ignored-on-legend.html: Changed to text-only.
        * platform/mac/fast/forms/inline-ignored-on-legend-expected.checksum: Removed.
        * platform/mac/fast/forms/inline-ignored-on-legend-expected.png: Removed.
        * platform/mac/fast/forms/inline-ignored-on-legend-expected.txt: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41069 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/forms/inline-ignored-on-legend-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/inline-ignored-on-legend.html
LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.checksum [deleted file]
LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.png [deleted file]
LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.txt [deleted file]

index d16543efd607ee37b5d169697b93c2e42c87402d..e1277ff00fc9b4167d8712cdc80c6dfda443f1da 100644 (file)
@@ -1,3 +1,16 @@
+2009-02-18  Dimitri Glazkov  <dglazkov@chromium.org>
+
+        Reviewed by Eric Seidel.
+
+        https://bugs.webkit.org/show_bug.cgi?id=24012
+        Convert inline-ignored-on-legend to text-only test.
+
+        * fast/forms/inline-ignored-on-legend-expected.txt: Added.
+        * fast/forms/inline-ignored-on-legend.html: Changed to text-only.
+        * platform/mac/fast/forms/inline-ignored-on-legend-expected.checksum: Removed.
+        * platform/mac/fast/forms/inline-ignored-on-legend-expected.png: Removed.
+        * platform/mac/fast/forms/inline-ignored-on-legend-expected.txt: Removed.
+
 2009-02-17  Peter Abrahamsen  <rainhead@gmail.com>
 
         Reviewed by Sam Weinig.
diff --git a/LayoutTests/fast/forms/inline-ignored-on-legend-expected.txt b/LayoutTests/fast/forms/inline-ignored-on-legend-expected.txt
new file mode 100644 (file)
index 0000000..eeb3d97
--- /dev/null
@@ -0,0 +1,3 @@
+Member Login:
+
+This test confirms that legend element can not be made inline. Succeeds if this message is visible and there's no ASSERT in debug build.
index e9a3382fb4532db78908cbceb77cd4c6f71b28d2..a4f3d8c43912b816de2349abdf541ccf0eda678f 100644 (file)
@@ -3,6 +3,11 @@
        <style>
         * {margin:0;padding:0}
        </style>
+       <script>
+           if (window.layoutTestController) {
+               layoutTestController.dumpAsText();
+           }
+       </script>
 </head>
 <body>
        <form style="float:left">
                        <input style="width:80px">
                </fieldset>
        </form>
-       <div style="float:left;width:100%"></div>
+       <div style="float:left;width:100%">
+          This test confirms that <kbd>legend</kbd> element can not be made inline.
+          Succeeds if this message is visible and there's no <code>ASSERT</code> in
+          debug build.
+       </div>
 </body>
-</html>
\ No newline at end of file
+</html>
diff --git a/LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.checksum b/LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.checksum
deleted file mode 100644 (file)
index f9bbc3b..0000000
+++ /dev/null
@@ -1 +0,0 @@
-2cf05307eb4581da0fd2c25870c89f4a
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.png b/LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.png
deleted file mode 100644 (file)
index 3941a24..0000000
Binary files a/LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.txt b/LayoutTests/platform/mac/fast/forms/inline-ignored-on-legend-expected.txt
deleted file mode 100644 (file)
index 17f090d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-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 (0,0) size 800x600
-      RenderBlock (floating) {FORM} at (0,0) size 103x37
-        RenderFieldSet {FIELDSET} at (0,0) size 103x37 [border: (2px groove #C0C0C0)]
-          RenderBlock {LEGEND} at (2,0) size 99x18
-            RenderText {#text} at (0,0) size 99x18
-              text run at (0,0) width 99: "Member Login:"
-          RenderBlock (anonymous) at (2,18) size 99x17
-            RenderTextControl {INPUT} at (0,0) size 80x17 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
-            RenderText {#text} at (0,0) size 0x0
-      RenderBlock (floating) {DIV} at (0,37) size 800x0
-layer at (4,20) size 76x13
-  RenderBlock {DIV} at (2,2) size 76x13