Add a layout test for the crashing compact case.
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Jul 2004 20:17:01 +0000 (20:17 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Jul 2004 20:17:01 +0000 (20:17 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7039 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/compact/003-expected.txt [new file with mode: 0644]
LayoutTests/fast/compact/003.html [new file with mode: 0644]

diff --git a/LayoutTests/fast/compact/003-expected.txt b/LayoutTests/fast/compact/003-expected.txt
new file mode 100644 (file)
index 0000000..10fb198
--- /dev/null
@@ -0,0 +1,15 @@
+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 784x576
+      RenderBlock {DL} at (0,0) size 784x36
+        RenderBlock (compact) {DT} at (0,0) size 60x18
+          RenderText {TEXT} at (0,0) size 60x18
+            text run at (0,0) width 60: "Line One"
+        RenderBlock (compact) {DT} at (0,18) size 63x18
+          RenderText {TEXT} at (0,0) size 33x18
+            text run at (0,0) width 33: "Line "
+          RenderInline {SPAN} at (0,0) size 30x18
+            RenderText {TEXT} at (33,0) size 30x18
+              text run at (33,0) width 30: "Two"
diff --git a/LayoutTests/fast/compact/003.html b/LayoutTests/fast/compact/003.html
new file mode 100644 (file)
index 0000000..68e4fe5
--- /dev/null
@@ -0,0 +1,4 @@
+<dl>
+       <dt style="display:compact;">Line One</dt>
+       <dt style="display:compact;">Line <span>Two</span></dt>
+</dl>