[webkit-changes] cvs commit: LayoutTests/fast/table cell-width-auto-expected.checksum cell-width-auto-expected.png cell-width-auto-expected.txt cell-width-auto.html

Eric eseidel at opensource.apple.com
Tue Nov 29 18:55:09 PST 2005


eseidel     05/11/29 18:55:09

  Modified:    .        ChangeLog
  Added:       fast/table cell-width-auto-expected.checksum
                        cell-width-auto-expected.png
                        cell-width-auto-expected.txt cell-width-auto.html
  Log:
  Bug #: 5820
  Submitted by: mitz
  Reviewed by: darin
          Test for: http://bugzilla.opendarwin.org/show_bug.cgi?id=5820
  
          * fast/table/cell-width-auto-expected.checksum: Added.
          * fast/table/cell-width-auto-expected.png: Added.
          * fast/table/cell-width-auto-expected.txt: Added.
          * fast/table/cell-width-auto.html: Added.
  
  Revision  Changes    Path
  1.114     +11 -0     LayoutTests/ChangeLog
  
  Index: ChangeLog
  ===================================================================
  RCS file: /cvs/root/LayoutTests/ChangeLog,v
  retrieving revision 1.113
  retrieving revision 1.114
  diff -u -r1.113 -r1.114
  --- ChangeLog	30 Nov 2005 02:42:19 -0000	1.113
  +++ ChangeLog	30 Nov 2005 02:55:08 -0000	1.114
  @@ -1,3 +1,14 @@
  +2005-11-29  Eric Seidel  <eseidel at apple.com>
  +
  +        Reviewed by darin.  Committed by eseidel
  +
  +        Test for: http://bugzilla.opendarwin.org/show_bug.cgi?id=5820
  +
  +        * fast/table/cell-width-auto-expected.checksum: Added.
  +        * fast/table/cell-width-auto-expected.png: Added.
  +        * fast/table/cell-width-auto-expected.txt: Added.
  +        * fast/table/cell-width-auto.html: Added.
  +
   2005-11-29  Mitz Pettel  <opendarwin.org at mitzpettel.com>
   
           Reviewed by hyatt.  Committed by eseidel.
  
  
  
  1.1                  LayoutTests/fast/table/cell-width-auto-expected.checksum
  
  Index: cell-width-auto-expected.checksum
  ===================================================================
  12bc422ddf99a22deed367525d373327
  
  
  1.1                  LayoutTests/fast/table/cell-width-auto-expected.png
  
  	<<Binary file>>
  
  
  1.1                  LayoutTests/fast/table/cell-width-auto-expected.txt
  
  Index: cell-width-auto-expected.txt
  ===================================================================
  layer at (0,0) size 800x600
    RenderCanvas at (0,0) size 800x600
  layer at (0,0) size 800x478
    RenderBlock {HTML} at (0,0) size 800x478
      RenderBody {BODY} at (8,16) size 784x454
        RenderBlock {DIV} at (0,0) size 600x454
          RenderBlock {P} at (0,0) size 600x18
            RenderText {TEXT} at (0,0) size 286x18
              text run at (0,0) width 286: "The following two tables should be the same."
          RenderBlock {P} at (0,34) size 600x18
            RenderText {TEXT} at (0,0) size 163x18
              text run at (0,0) width 163: "Table 1: width in <COL>"
          RenderTable {TABLE} at (0,68) size 260x168
            RenderTableCol {COL} at (0,0) size 0x0
            RenderTableCol {COL} at (0,0) size 0x0
            RenderTableSection {TBODY} at (0,0) size 0x168
              RenderTableRow {TR} at (0,0) size 0x0
                RenderTableCell {TD} at (2,2) size 152x164 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
                  RenderText {TEXT} at (1,1) size 148x162
                    text run at (1,1) width 88: "Cras tincidunt"
                    text run at (1,19) width 145: "bibendum nunc. Morbi"
                    text run at (1,37) width 132: "condimentum aliquet"
                    text run at (1,55) width 98: "diam. Phasellus"
                    text run at (1,73) width 145: "pulvinar, nisl at tempor"
                    text run at (1,91) width 114: "auctor, dolor pede"
                    text run at (1,109) width 106: "vestibulum risus,"
                    text run at (1,127) width 143: "placerat malesuada dui"
                    text run at (1,145) width 148: "enim nec est. Nulla leo."
                RenderTableCell {TD} at (156,74) size 102x20 [bgcolor=#008000] [r=0 c=1 rs=1 cs=1]
                  RenderText {TEXT} at (1,1) size 84x18
                    text run at (1,1) width 84: "Lorem ipsum"
          RenderBlock {P} at (0,252) size 600x18
            RenderText {TEXT} at (0,0) size 152x18
              text run at (0,0) width 152: "Table 2: width in <TD>"
          RenderTable {TABLE} at (0,286) size 260x168
            RenderTableSection {TBODY} at (0,0) size 0x168
              RenderTableRow {TR} at (0,0) size 0x0
                RenderTableCell {TD} at (2,2) size 152x164 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
                  RenderText {TEXT} at (1,1) size 148x162
                    text run at (1,1) width 88: "Cras tincidunt"
                    text run at (1,19) width 145: "bibendum nunc. Morbi"
                    text run at (1,37) width 132: "condimentum aliquet"
                    text run at (1,55) width 98: "diam. Phasellus"
                    text run at (1,73) width 145: "pulvinar, nisl at tempor"
                    text run at (1,91) width 114: "auctor, dolor pede"
                    text run at (1,109) width 106: "vestibulum risus,"
                    text run at (1,127) width 143: "placerat malesuada dui"
                    text run at (1,145) width 148: "enim nec est. Nulla leo."
                RenderTableCell {TD} at (156,74) size 102x20 [bgcolor=#008000] [r=0 c=1 rs=1 cs=1]
                  RenderText {TEXT} at (1,1) size 84x18
                    text run at (1,1) width 84: "Lorem ipsum"
  
  
  
  1.1                  LayoutTests/fast/table/cell-width-auto.html
  
  Index: cell-width-auto.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
  "http://www.w3.org/TR/html4/loose.dtd">
  <html>
  <head>
  <title>width in &lt;COL&gt;</title>
  </head>
  <body>
  <div style="width: 600px;">
  <p>The following two tables should be the same.</p>
  <p>Table 1: width in &lt;COL&gt;</p>
  <table style="table-layout:auto;">
      <col style="width: 150px;">
      <col style="width: 100px;">
      <tr>
          <td style="background: yellow;">
              Cras tincidunt bibendum nunc. Morbi condimentum aliquet diam. Phasellus pulvinar, nisl at tempor auctor, dolor pede vestibulum risus, placerat malesuada dui enim nec est. Nulla leo.
          </td>
          <td style="background: green;">
              Lorem ipsum
          </td>
      </tr>
  </table>
  <p>Table 2: width in &lt;TD&gt;</p>
  <table style="table-layout:auto;">
      <tr>
          <td style="width: 150px; background: yellow;">
              Cras tincidunt bibendum nunc. Morbi condimentum aliquet diam. Phasellus pulvinar, nisl at tempor auctor, dolor pede vestibulum risus, placerat malesuada dui enim nec est. Nulla leo.
          </td>
          <td style="width: 100px; background: green;">
              Lorem ipsum
          </td>
      </tr>
  </table>
  </div>
  </body>
  </html>
  
  



More information about the webkit-changes mailing list