Add quirk body height test.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 May 2004 20:24:33 +0000 (20:24 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 May 2004 20:24:33 +0000 (20:24 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6544 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/block/basic/quirk-height-expected.txt [new file with mode: 0644]
LayoutTests/fast/block/basic/quirk-height.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/block/basic/quirk-height-expected.txt b/LayoutTests/fast/block/basic/quirk-height-expected.txt
new file mode 100644 (file)
index 0000000..8888892
--- /dev/null
@@ -0,0 +1,8 @@
+layer at (0,0) size 800x600
+  RenderCanvas 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 [bgcolor=#EEEEEE]
+      RenderBlock {DIV} at (24,24) size 736x536 [color=#FFFFFF] [bgcolor=#008000]
+        RenderText {TEXT} at (0,0) size 516x18
+          text run at (0,0) width 516: "The green div should fill the content area (except for a bit of padding on all sides)."
diff --git a/LayoutTests/fast/block/basic/quirk-height.html b/LayoutTests/fast/block/basic/quirk-height.html
new file mode 100644 (file)
index 0000000..025f79c
--- /dev/null
@@ -0,0 +1,7 @@
+<html>
+<body style="padding:24px;background-color:#eeeeee">
+<div style="height:100%; background-color:green;color:white">
+The green div should fill the content area (except for a bit of padding on all sides).
+</div>
+</body>
+</html>