Add layout test for crashing colgroup
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Sep 2004 20:39:24 +0000 (20:39 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Sep 2004 20:39:24 +0000 (20:39 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7435 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/fast/invalid/020-expected.txt [new file with mode: 0644]
LayoutTests/fast/invalid/020.xml [new file with mode: 0644]

diff --git a/LayoutTests/fast/invalid/020-expected.txt b/LayoutTests/fast/invalid/020-expected.txt
new file mode 100644 (file)
index 0000000..6dc3a1b
--- /dev/null
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+  RenderCanvas at (0,0) size 800x600
+layer at (0,0) size 800x34
+  RenderBlock {HTML} at (0,0) size 800x34
+    RenderBody {BODY} at (8,8) size 784x18
+      RenderBlock (anonymous) at (0,0) size 784x18
+        RenderText {TEXT} at (0,0) size 29x18
+          text run at (0,0) width 29: "Text"
+      RenderTable {TABLE} at (0,18) size 4x0
+      RenderTable at (0,18) size 0x0
+        RenderTableCol {COLGROUP} at (0,0) size 0x0
+      RenderBlock (anonymous) at (0,18) size 784x0
+        RenderText {TEXT} at (0,0) size 0x0
diff --git a/LayoutTests/fast/invalid/020.xml b/LayoutTests/fast/invalid/020.xml
new file mode 100644 (file)
index 0000000..2b6ec12
--- /dev/null
@@ -0,0 +1,4 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<body>Text<table/><colgroup/>
+</body>
+</html>