Add results for new layout test for slashdot regression
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Nov 2005 00:41:51 +0000 (00:41 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Nov 2005 00:41:51 +0000 (00:41 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@11024 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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

diff --git a/LayoutTests/fast/block/basic/021-expected.txt b/LayoutTests/fast/block/basic/021-expected.txt
new file mode 100644 (file)
index 0000000..8ab5807
--- /dev/null
@@ -0,0 +1,23 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x136
+  RenderBlock {HTML} at (0,0) size 800x136
+    RenderBody {BODY} at (8,8) size 784x120
+      RenderBlock {DIV} at (0,0) size 784x96 [border: (3px solid #FFFF00)]
+        RenderBlock (anonymous) at (3,3) size 778x18
+          RenderText {TEXT} at (0,0) size 47x18
+            text run at (0,0) width 47: "Yellow"
+        RenderBlock {DIV} at (3,21) size 778x72 [border: (3px solid #0000FF)]
+          RenderBlock (anonymous) at (3,3) size 772x18
+            RenderText {TEXT} at (0,0) size 30x18
+              text run at (0,0) width 30: "Blue"
+          RenderBlock {DIV} at (3,21) size 772x24 [border: (3px solid #008000)]
+            RenderText {TEXT} at (3,3) size 39x18
+              text run at (3,3) width 39: "Green"
+          RenderBlock {DIV} at (3,45) size 772x24 [border: (3px solid #FF0000)]
+            RenderText {TEXT} at (3,3) size 26x18
+              text run at (3,3) width 26: "Red"
+      RenderBlock {DIV} at (0,96) size 784x24 [border: (3px solid #000080)]
+        RenderBlock {DIV} at (3,3) size 778x18
+          RenderText {TEXT} at (0,0) size 35x18
+            text run at (0,0) width 35: "Navy"
diff --git a/LayoutTests/fast/block/basic/021.html b/LayoutTests/fast/block/basic/021.html
new file mode 100644 (file)
index 0000000..022a9ac
--- /dev/null
@@ -0,0 +1,39 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+
+<html>
+
+<head>
+
+       <title>Slashdot Layout Bug Testcase</title>
+
+       <style type="text/css">
+               /* These rules cause the layout issue */
+               #yellow{ height: 100%; }
+               #blue { height: 100%; }
+               /* #green { height: 100%; } /* */
+               
+               /* These rules are to demonstrate the layout issue */
+               #yellow { border: 3px solid yellow; }
+               #blue { border: 3px solid blue; }
+               #green { border: 3px solid green; }
+               #red { border: 3px solid red; }
+               #navy { border: 3px solid navy; }
+       </style>
+
+</head>
+
+<body>
+
+       <div id="yellow">Yellow
+               <div id="blue">Blue
+                       <div id="green">Green</div>
+                       <div id="red">Red</div>
+               </div>
+       </div>  
+       
+       <div id="navy">
+               <div>Navy</div>
+       </div>
+
+</body>
+</html>
\ No newline at end of file