Reviewed by Beth.
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2008 21:20:53 +0000 (21:20 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 16 Jan 2008 21:20:53 +0000 (21:20 +0000)
        <rdar://problem/5681647> Item pages on http://www.stendmarsofa.com/ hang Safari

        * fast/table/unbreakable-images-quirk.html: Added.
        * platform/mac/fast/table/unbreakable-images-quirk-expected.checksum: Added.
        * platform/mac/fast/table/unbreakable-images-quirk-expected.png: Added.
        * platform/mac/fast/table/unbreakable-images-quirk-expected.txt: Added.

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

LayoutTests/ChangeLog
LayoutTests/fast/table/unbreakable-images-quirk.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.txt [new file with mode: 0644]

index d46f87f..aa8727f 100644 (file)
@@ -1,3 +1,14 @@
+2008-01-16  David Hyatt  <hyatt@apple.com>
+
+        Reviewed by Beth.
+
+        <rdar://problem/5681647> Item pages on http://www.stendmarsofa.com/ hang Safari
+
+        * fast/table/unbreakable-images-quirk.html: Added.
+        * platform/mac/fast/table/unbreakable-images-quirk-expected.checksum: Added.
+        * platform/mac/fast/table/unbreakable-images-quirk-expected.png: Added.
+        * platform/mac/fast/table/unbreakable-images-quirk-expected.txt: Added.
+
 2008-01-16  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Adam Roben.
diff --git a/LayoutTests/fast/table/unbreakable-images-quirk.html b/LayoutTests/fast/table/unbreakable-images-quirk.html
new file mode 100644 (file)
index 0000000..6533f20
--- /dev/null
@@ -0,0 +1,48 @@
+<style>
+    img { background-color: lightblue; width: 20px; height: 50px; }
+    table {width: 15px; background: silver; }
+</style>
+No line break
+<TABLE>
+    <TR> 
+        <TD>
+            <img>loremipsum<img>
+        </TD>
+    </TR>
+</TABLE>
+<hr>
+No line break
+<TABLE>
+    <TR> 
+        <TD>
+            loremipsum<img>
+        </TD>
+    </TR>
+</TABLE>
+<hr>
+Line break after the "a".
+<TABLE>
+    <TR> 
+        <TD>
+            a loremipsum<img>
+        </TD>
+    </TR>
+</TABLE>
+<hr>
+Line break after the "a".
+<TABLE>
+    <TR> 
+        <TD>
+            a <img>loremipsum<img>
+        </TD>
+    </TR>
+</TABLE>
+<hr>
+Line break after "wideword".
+<TABLE>
+    <TR> 
+        <TD>
+            wideword <img>loremipsum<img>
+        </TD>
+    </TR>
+</TABLE>
diff --git a/LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.checksum b/LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.checksum
new file mode 100644 (file)
index 0000000..635f7ee
--- /dev/null
@@ -0,0 +1 @@
+363b66d31f7d0ac142ee7fbbe146b1e4
\ No newline at end of file
diff --git a/LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.png b/LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.png
new file mode 100644 (file)
index 0000000..b5f0942
Binary files /dev/null and b/LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.png differ
diff --git a/LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.txt b/LayoutTests/platform/mac/fast/table/unbreakable-images-quirk-expected.txt
new file mode 100644 (file)
index 0000000..e328236
--- /dev/null
@@ -0,0 +1,72 @@
+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 (8,8) size 784x584
+      RenderBlock (anonymous) at (0,0) size 784x18
+        RenderText {#text} at (0,0) size 86x18
+          text run at (0,0) width 86: "No line break"
+      RenderTable {TABLE} at (0,18) size 120x60 [bgcolor=#C0C0C0]
+        RenderTableSection {TBODY} at (0,0) size 120x60
+          RenderTableRow {TR} at (0,2) size 120x56
+            RenderTableCell {TD} at (2,2) size 116x56 [r=0 c=0 rs=1 cs=1]
+              RenderImage {IMG} at (1,1) size 20x50 [bgcolor=#ADD8E6]
+              RenderText {#text} at (21,37) size 74x18
+                text run at (21,37) width 74: "loremipsum"
+              RenderImage {IMG} at (95,1) size 20x50 [bgcolor=#ADD8E6]
+              RenderText {#text} at (0,0) size 0x0
+      RenderBlock {HR} at (0,86) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (anonymous) at (0,96) size 784x18
+        RenderText {#text} at (0,0) size 86x18
+          text run at (0,0) width 86: "No line break"
+      RenderTable {TABLE} at (0,114) size 100x60 [bgcolor=#C0C0C0]
+        RenderTableSection {TBODY} at (0,0) size 100x60
+          RenderTableRow {TR} at (0,2) size 100x56
+            RenderTableCell {TD} at (2,2) size 96x56 [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,37) size 74x18
+                text run at (1,37) width 74: "loremipsum"
+              RenderImage {IMG} at (75,1) size 20x50 [bgcolor=#ADD8E6]
+              RenderText {#text} at (0,0) size 0x0
+      RenderBlock {HR} at (0,182) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (anonymous) at (0,192) size 784x18
+        RenderText {#text} at (0,0) size 152x18
+          text run at (0,0) width 152: "Line break after the \"a\"."
+      RenderTable {TABLE} at (0,210) size 100x78 [bgcolor=#C0C0C0]
+        RenderTableSection {TBODY} at (0,0) size 100x78
+          RenderTableRow {TR} at (0,2) size 100x74
+            RenderTableCell {TD} at (2,2) size 96x74 [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 74x72
+                text run at (1,1) width 7: "a"
+                text run at (1,55) width 74: "loremipsum"
+              RenderImage {IMG} at (75,19) size 20x50 [bgcolor=#ADD8E6]
+              RenderText {#text} at (0,0) size 0x0
+      RenderBlock {HR} at (0,296) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (anonymous) at (0,306) size 784x18
+        RenderText {#text} at (0,0) size 152x18
+          text run at (0,0) width 152: "Line break after the \"a\"."
+      RenderTable {TABLE} at (0,324) size 120x78 [bgcolor=#C0C0C0]
+        RenderTableSection {TBODY} at (0,0) size 120x78
+          RenderTableRow {TR} at (0,2) size 120x74
+            RenderTableCell {TD} at (2,2) size 116x74 [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 7x18
+                text run at (1,1) width 7: "a"
+              RenderImage {IMG} at (1,19) size 20x50 [bgcolor=#ADD8E6]
+              RenderText {#text} at (21,55) size 74x18
+                text run at (21,55) width 74: "loremipsum"
+              RenderImage {IMG} at (95,19) size 20x50 [bgcolor=#ADD8E6]
+              RenderText {#text} at (0,0) size 0x0
+      RenderBlock {HR} at (0,410) size 784x2 [border: (1px inset #000000)]
+      RenderBlock (anonymous) at (0,420) size 784x18
+        RenderText {#text} at (0,0) size 186x18
+          text run at (0,0) width 186: "Line break after \"wideword\"."
+      RenderTable {TABLE} at (0,438) size 120x78 [bgcolor=#C0C0C0]
+        RenderTableSection {TBODY} at (0,0) size 120x78
+          RenderTableRow {TR} at (0,2) size 120x74
+            RenderTableCell {TD} at (2,2) size 116x74 [r=0 c=0 rs=1 cs=1]
+              RenderText {#text} at (1,1) size 64x18
+                text run at (1,1) width 64: "wideword"
+              RenderImage {IMG} at (1,19) size 20x50 [bgcolor=#ADD8E6]
+              RenderText {#text} at (21,55) size 74x18
+                text run at (21,55) width 74: "loremipsum"
+              RenderImage {IMG} at (95,19) size 20x50 [bgcolor=#ADD8E6]
+              RenderText {#text} at (0,0) size 0x0