Changeset 63472 in webkit


Ignore:
Timestamp:
Jul 15, 2010 3:17:07 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-07-15 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

LegacyHTMLTreeBuilder should insert an implicit <colgroup> before inserting <col> to match HTML5
https://bugs.webkit.org/show_bug.cgi?id=42346

This turned out to be an easy fix.

This is covered by lots of layout tests. I believe
all of the changed results to be progressions.

This change had no measurable effect on the parser benchmark.

  • html/LegacyHTMLTreeBuilder.cpp: (WebCore::LegacyHTMLTreeBuilder::colCreateErrorCheck): (WebCore::LegacyHTMLTreeBuilder::getNode):
  • html/LegacyHTMLTreeBuilder.h:

2010-07-15 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

LegacyHTMLTreeBuilder should insert an implicit <colgroup> before inserting <col> to match HTML5
https://bugs.webkit.org/show_bug.cgi?id=42346

I believe all of these changes to be progressions.

  • html5lib/runner-expected.txt:
  • platform/mac/fast/invalid/residual-style-expected.txt:
  • platform/mac/fast/repaint/table-col-background-expected.txt:
  • platform/mac/fast/table/border-collapsing/002-expected.txt:
  • platform/mac/fast/table/border-collapsing/rtl-border-collapsing-expected.txt:
  • platform/mac/fast/table/cell-width-auto-expected.txt:
  • platform/mac/fast/table/colgroup-preceded-by-caption-expected.txt:
  • platform/mac/fast/table/fixed-granular-cols-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug100334-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug139524-1-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug139524-4-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug25367-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug29058-3-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug43039-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug43854-1-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug7471-expected.txt:
  • platform/mac/tables/mozilla/core/misc-expected.txt:
  • platform/mac/tables/mozilla/dom/deleteCol1-expected.txt:
  • platform/mac/tables/mozilla/dom/deleteCol2-expected.txt:
  • platform/mac/tables/mozilla/dom/deleteCol3-expected.txt:
  • platform/mac/tables/mozilla/dom/insertCols1-expected.txt:
  • platform/mac/tables/mozilla/dom/insertCols2-expected.txt:
  • platform/mac/tables/mozilla/dom/insertCols3-expected.txt:
  • platform/mac/tables/mozilla/marvin/col_span-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/bugs/bug29058-2-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/bugs/bug47163-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/bugs/bug7243-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/core/backgrounds-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/core/col_span2-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/core/cols1-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/core/columns-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/core/conflicts-expected.txt:
  • platform/mac/tables/mozilla_expected_failures/dom/appendCol1-expected.txt:
Location:
trunk
Files:
37 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r63470 r63472  
     12010-07-15  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        LegacyHTMLTreeBuilder should insert an implicit <colgroup> before inserting <col> to match HTML5
     6        https://bugs.webkit.org/show_bug.cgi?id=42346
     7
     8        I believe all of these changes to be progressions.
     9
     10        * html5lib/runner-expected.txt:
     11        * platform/mac/fast/invalid/residual-style-expected.txt:
     12        * platform/mac/fast/repaint/table-col-background-expected.txt:
     13        * platform/mac/fast/table/border-collapsing/002-expected.txt:
     14        * platform/mac/fast/table/border-collapsing/rtl-border-collapsing-expected.txt:
     15        * platform/mac/fast/table/cell-width-auto-expected.txt:
     16        * platform/mac/fast/table/colgroup-preceded-by-caption-expected.txt:
     17        * platform/mac/fast/table/fixed-granular-cols-expected.txt:
     18        * platform/mac/tables/mozilla/bugs/bug100334-expected.txt:
     19        * platform/mac/tables/mozilla/bugs/bug139524-1-expected.txt:
     20        * platform/mac/tables/mozilla/bugs/bug139524-4-expected.txt:
     21        * platform/mac/tables/mozilla/bugs/bug25367-expected.txt:
     22        * platform/mac/tables/mozilla/bugs/bug29058-3-expected.txt:
     23        * platform/mac/tables/mozilla/bugs/bug43039-expected.txt:
     24        * platform/mac/tables/mozilla/bugs/bug43854-1-expected.txt:
     25        * platform/mac/tables/mozilla/bugs/bug7471-expected.txt:
     26        * platform/mac/tables/mozilla/core/misc-expected.txt:
     27        * platform/mac/tables/mozilla/dom/deleteCol1-expected.txt:
     28        * platform/mac/tables/mozilla/dom/deleteCol2-expected.txt:
     29        * platform/mac/tables/mozilla/dom/deleteCol3-expected.txt:
     30        * platform/mac/tables/mozilla/dom/insertCols1-expected.txt:
     31        * platform/mac/tables/mozilla/dom/insertCols2-expected.txt:
     32        * platform/mac/tables/mozilla/dom/insertCols3-expected.txt:
     33        * platform/mac/tables/mozilla/marvin/col_span-expected.txt:
     34        * platform/mac/tables/mozilla_expected_failures/bugs/bug29058-2-expected.txt:
     35        * platform/mac/tables/mozilla_expected_failures/bugs/bug47163-expected.txt:
     36        * platform/mac/tables/mozilla_expected_failures/bugs/bug7243-expected.txt:
     37        * platform/mac/tables/mozilla_expected_failures/core/backgrounds-expected.txt:
     38        * platform/mac/tables/mozilla_expected_failures/core/col_span2-expected.txt:
     39        * platform/mac/tables/mozilla_expected_failures/core/cols1-expected.txt:
     40        * platform/mac/tables/mozilla_expected_failures/core/columns-expected.txt:
     41        * platform/mac/tables/mozilla_expected_failures/core/conflicts-expected.txt:
     42        * platform/mac/tables/mozilla_expected_failures/dom/appendCol1-expected.txt:
     43
    1442010-07-15  Adam Barth  <abarth@webkit.org>
    245
  • trunk/LayoutTests/html5lib/runner-expected.txt

    r63411 r63472  
    700700|     <col>
    701701|     <table>
    702 |       <col>
     702|       <colgroup>
     703|         <col>
    703704|       <tbody>
    704705|         <tr>
     
    48764877|     <form>
    48774878resources/tables01.dat:
    4878 3
    487948797
    488048808
    488148819
    48824882
    4883 Test 3 of 16 in resources/tables01.dat failed. Input:
    4884 <table><col foo='bar'>
    4885 Got:
    4886 | <html>
    4887 |   <head>
    4888 |   <body>
    4889 |     <table>
    4890 |       <col>
    4891 |         foo="bar"
    4892 Expected:
    4893 | <html>
    4894 |   <head>
    4895 |   <body>
    4896 |     <table>
    4897 |       <colgroup>
    4898 |         <col>
    4899 |           foo="bar"
    4900 
    49014883Test 7 of 16 in resources/tables01.dat failed. Input:
    49024884<table><select><option>3</select></table>
  • trunk/LayoutTests/platform/mac/fast/invalid/residual-style-expected.txt

    r54748 r63472  
    188188          RenderInline {FONT} at (0,0) size 0x18 [color=#FF0000]
    189189          RenderTable {TABLE} at (41,12) size 4x2
    190             RenderTableCol {COL} at (0,0) size 0x0
     190            RenderTableCol {COLGROUP} at (0,0) size 0x0
     191              RenderTableCol {COL} at (0,0) size 0x0
    191192            RenderTableSection {TBODY} at (0,0) size 4x2
    192193          RenderText {#text} at (45,0) size 171x18
  • trunk/LayoutTests/platform/mac/fast/repaint/table-col-background-expected.txt

    r30635 r63472  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderTable {TABLE} at (0,0) size 106x104
    7         RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#008000]
     7        RenderTableCol {COLGROUP} at (0,0) size 0x0
     8          RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#008000]
    89        RenderTableSection {TBODY} at (0,0) size 106x104
    910          RenderTableRow {TR} at (0,2) size 106x100
  • trunk/LayoutTests/platform/mac/fast/table/border-collapsing/002-expected.txt

    r25970 r63472  
    66      RenderBlock {P} at (0,0) size 784x272
    77        RenderTable {TABLE} at (0,0) size 158x272 [border: (2px solid #FFFF00)]
    8           RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #000000)]
    9           RenderTableCol {COL} at (0,0) size 0x0
    10           RenderTableCol {COL} at (0,0) size 0x0
     8          RenderTableCol {COLGROUP} at (0,0) size 0x0
     9            RenderTableCol {COL} at (0,0) size 0x0 [border: (3px solid #000000)]
     10            RenderTableCol {COL} at (0,0) size 0x0
     11            RenderTableCol {COL} at (0,0) size 0x0
    1112          RenderTableSection {TBODY} at (2,2) size 153x267
    1213            RenderTableRow {TR} at (0,0) size 153x55
  • trunk/LayoutTests/platform/mac/fast/table/border-collapsing/rtl-border-collapsing-expected.txt

    r25970 r63472  
    3232            RenderTableCell {TD} at (0,26) size 67x48 [border: none (1px solid #000000) none] [r=1 c=0 rs=1 cs=1]
    3333              RenderTable {TABLE} at (4,4) size 58x40 [border: none (1px solid #0000FF) none (1px solid #FF0000)]
    34                 RenderTableCol {COL} at (0,0) size 0x0
    35                 RenderTableCol {COL} at (0,0) size 0x0
    36                 RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FFFF00] [border: (2px dotted #008000) none (1px solid #000000)]
    37                 RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#C0C0C0]
     34                RenderTableCol {COLGROUP} at (0,0) size 0x0
     35                  RenderTableCol {COL} at (0,0) size 0x0
     36                  RenderTableCol {COL} at (0,0) size 0x0
     37                  RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FFFF00] [border: (2px dotted #008000) none (1px solid #000000)]
     38                  RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#C0C0C0]
    3839                RenderTableSection {TBODY} at (1,0) size 56x40
    3940                  RenderTableRow {TR} at (0,0) size 56x20
     
    6869            RenderTableCell {TD} at (67,26) size 66x48 [r=1 c=1 rs=1 cs=1]
    6970              RenderTable {TABLE} at (4,4) size 58x40 [border: none (1px solid #FF0000) none (1px solid #0000FF)]
    70                 RenderTableCol {COL} at (0,0) size 0x0
    71                 RenderTableCol {COL} at (0,0) size 0x0
    72                 RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FFFF00] [border: (1px solid #000000) none (2px dotted #008000)]
    73                 RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#C0C0C0]
     71                RenderTableCol {COLGROUP} at (0,0) size 0x0
     72                  RenderTableCol {COL} at (0,0) size 0x0
     73                  RenderTableCol {COL} at (0,0) size 0x0
     74                  RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FFFF00] [border: (1px solid #000000) none (2px dotted #008000)]
     75                  RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#C0C0C0]
    7476                RenderTableSection {TBODY} at (1,0) size 56x40
    7577                  RenderTableRow {TR} at (0,0) size 56x20
  • trunk/LayoutTests/platform/mac/fast/table/cell-width-auto-expected.txt

    r25970 r63472  
    1212            text run at (0,0) width 163: "Table 1: width in <COL>"
    1313        RenderTable {TABLE} at (0,68) size 256x168
    14           RenderTableCol {COL} at (0,0) size 0x0
    15           RenderTableCol {COL} at (0,0) size 0x0
     14          RenderTableCol {COLGROUP} at (0,0) size 0x0
     15            RenderTableCol {COL} at (0,0) size 0x0
     16            RenderTableCol {COL} at (0,0) size 0x0
    1617          RenderTableSection {TBODY} at (0,0) size 256x168
    1718            RenderTableRow {TR} at (0,2) size 256x164
  • trunk/LayoutTests/platform/mac/fast/table/colgroup-preceded-by-caption-expected.txt

    r25970 r63472  
    99            text run at (30,0) width 210: "The next line should have yellow"
    1010            text run at (96,18) width 79: "background."
    11         RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FFFF00]
     11        RenderTableCol {COLGROUP} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FFFF00]
    1213        RenderTableSection {TBODY} at (0,36) size 271x24
    1314          RenderTableRow {TR} at (0,2) size 271x20
  • trunk/LayoutTests/platform/mac/fast/table/fixed-granular-cols-expected.txt

    r42577 r63472  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderTable {TABLE} at (0,0) size 200x50
    7         RenderTableCol {COL} at (0,0) size 0x0
    8         RenderTableCol {COL} at (0,0) size 0x0
    9         RenderTableCol {COL} at (0,0) size 0x0
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
     7        RenderTableCol {COLGROUP} at (0,0) size 0x0
     8          RenderTableCol {COL} at (0,0) size 0x0
     9          RenderTableCol {COL} at (0,0) size 0x0
     10          RenderTableCol {COL} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
    1213        RenderTableSection {TBODY} at (0,0) size 200x50
    1314          RenderTableRow {TR} at (0,0) size 200x50
     
    1718            RenderTableCell {TD} at (200,24) size 0x2 [r=0 c=5 rs=1 cs=1]
    1819      RenderTable {TABLE} at (0,50) size 200x50
    19         RenderTableCol {COL} at (0,0) size 0x0
    20         RenderTableCol {COL} at (0,0) size 0x0
    21         RenderTableCol {COL} at (0,0) size 0x0
     20        RenderTableCol {COLGROUP} at (0,0) size 0x0
     21          RenderTableCol {COL} at (0,0) size 0x0
     22          RenderTableCol {COL} at (0,0) size 0x0
     23          RenderTableCol {COL} at (0,0) size 0x0
    2224        RenderTableSection {TBODY} at (0,0) size 200x50
    2325          RenderTableRow {TR} at (0,0) size 200x50
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug100334-expected.txt

    r30635 r63472  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderTable {TABLE} at (0,0) size 150x18 [bgcolor=#FFCCCC]
    7         RenderTableCol {COL} at (0,0) size 0x0
    8         RenderTableCol {COL} at (0,0) size 0x0
     7        RenderTableCol {COLGROUP} at (0,0) size 0x0
     8          RenderTableCol {COL} at (0,0) size 0x0
     9          RenderTableCol {COL} at (0,0) size 0x0
    910        RenderTableSection {TBODY} at (0,0) size 150x18
    1011          RenderTableRow {TR} at (0,0) size 150x18
     
    1718      RenderBlock {P} at (0,34) size 784x0
    1819      RenderTable {TABLE} at (0,34) size 150x18 [bgcolor=#FFCCCC]
    19         RenderTableCol {COL} at (0,0) size 0x0
    20         RenderTableCol {COL} at (0,0) size 0x0
     20        RenderTableCol {COLGROUP} at (0,0) size 0x0
     21          RenderTableCol {COL} at (0,0) size 0x0
     22          RenderTableCol {COL} at (0,0) size 0x0
    2123        RenderTableSection {TBODY} at (0,0) size 150x18
    2224          RenderTableRow {TR} at (0,0) size 150x18
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug139524-1-expected.txt

    r30635 r63472  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderTable {TABLE} at (0,0) size 784x24
    7         RenderTableCol {COL} at (0,0) size 0x0
     7        RenderTableCol {COLGROUP} at (0,0) size 0x0
     8          RenderTableCol {COL} at (0,0) size 0x0
    89        RenderTableSection {TBODY} at (0,0) size 784x24
    910          RenderTableRow {TR} at (0,2) size 784x20
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug139524-4-expected.txt

    r30635 r63472  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderTable {TABLE} at (0,0) size 312x28 [border: (1px outset #808080)]
    7         RenderTableCol {COL} at (0,0) size 0x0
    8         RenderTableCol {COL} at (0,0) size 0x0
     7        RenderTableCol {COLGROUP} at (0,0) size 0x0
     8          RenderTableCol {COL} at (0,0) size 0x0
     9          RenderTableCol {COL} at (0,0) size 0x0
    910        RenderTableSection {TBODY} at (1,1) size 310x26
    1011          RenderTableRow {TR} at (0,2) size 310x22
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug25367-expected.txt

    r30635 r63472  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderTable {TABLE} at (0,0) size 71x46
    7         RenderTableCol {COL} at (0,0) size 0x0
     7        RenderTableCol {COLGROUP} at (0,0) size 0x0
     8          RenderTableCol {COL} at (0,0) size 0x0
    89        RenderTableSection {TBODY} at (0,0) size 71x46
    910          RenderTableRow {TR} at (0,2) size 71x20
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug29058-3-expected.txt

    r30635 r63472  
    88          RenderText {#text} at (46,0) size 306x18
    99            text run at (46,0) width 306: "Table is 400 px width, set with table width=400."
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
    12         RenderTableCol {COL} at (0,0) size 0x0
     10        RenderTableCol {COLGROUP} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
     13          RenderTableCol {COL} at (0,0) size 0x0
    1314        RenderTableSection {TBODY} at (1,19) size 398x182
    1415          RenderTableRow {TR} at (0,0) size 398x182
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug43039-expected.txt

    r30635 r63472  
    55    RenderBody {BODY} at (8,8) size 784x569
    66      RenderTable {TABLE} at (0,0) size 16460x108
    7         RenderTableCol {COL} at (0,0) size 0x0
    8         RenderTableCol {COL} at (0,0) size 0x0
    9         RenderTableCol {COL} at (0,0) size 0x0
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
    12         RenderTableCol {COL} at (0,0) size 0x0
    13         RenderTableCol {COL} at (0,0) size 0x0
    14         RenderTableCol {COL} at (0,0) size 0x0
     7        RenderTableCol {COLGROUP} at (0,0) size 0x0
     8          RenderTableCol {COL} at (0,0) size 0x0
     9          RenderTableCol {COL} at (0,0) size 0x0
     10          RenderTableCol {COL} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
     13          RenderTableCol {COL} at (0,0) size 0x0
     14          RenderTableCol {COL} at (0,0) size 0x0
     15          RenderTableCol {COL} at (0,0) size 0x0
    1516        RenderTableSection {TBODY} at (0,0) size 16460x108
    1617          RenderTableRow {TR} at (0,0) size 16460x18
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug43854-1-expected.txt

    r30635 r63472  
    99            text run at (0,0) width 285: "All cell borders should look the same."
    1010      RenderTable {TABLE} at (40,74) size 902x186 [border: (1px outset #808080)]
    11         RenderTableCol {COL} at (0,0) size 0x0
     11        RenderTableCol {COLGROUP} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
    1213        RenderTableSection {TBODY} at (1,1) size 900x184
    1314          RenderTableRow {TR} at (0,0) size 900x20
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug7471-expected.txt

    r30635 r63472  
    4343          text run at (0,0) width 287: "col elements with align=center on second col:"
    4444      RenderTable {TABLE} at (0,160) size 705x76 [border: (1px outset #808080)]
    45         RenderTableCol {COL} at (0,0) size 0x0
    46         RenderTableCol {COL} at (0,0) size 0x0
    47         RenderTableCol {COL} at (0,0) size 0x0
     45        RenderTableCol {COLGROUP} at (0,0) size 0x0
     46          RenderTableCol {COL} at (0,0) size 0x0
     47          RenderTableCol {COL} at (0,0) size 0x0
     48          RenderTableCol {COL} at (0,0) size 0x0
    4849        RenderTableSection {TBODY} at (1,1) size 703x74
    4950          RenderTableRow {TR} at (0,2) size 703x22
  • trunk/LayoutTests/platform/mac/tables/mozilla/core/misc-expected.txt

    r30635 r63472  
    88          text run at (0,0) width 226: "cell split with color (standard mode)"
    99      RenderTable {TABLE} at (0,18) size 31x28 [border: (1px outset #808080)]
    10         RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FF0000]
    11         RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#0000FF]
     10        RenderTableCol {COLGROUP} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FF0000]
     12          RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#0000FF]
    1213        RenderTableSection {TBODY} at (1,1) size 29x26
    1314          RenderTableRow {TR} at (0,2) size 29x22
  • trunk/LayoutTests/platform/mac/tables/mozilla/dom/deleteCol1-expected.txt

    r30635 r63472  
    88          text run at (0,0) width 214: "The 2 tables should look the same"
    99      RenderTable {TABLE} at (0,18) size 541x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
     10        RenderTableCol {COLGROUP} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
    1213        RenderTableSection {TBODY} at (1,1) size 539x26
    1314          RenderTableRow {TR} at (0,2) size 539x22
     
    2425        RenderBR {BR} at (0,0) size 0x18
    2526      RenderTable {TABLE} at (0,64) size 541x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    26         RenderTableCol {COL} at (0,0) size 0x0
    27         RenderTableCol {COL} at (0,0) size 0x0
     27        RenderTableCol {COLGROUP} at (0,0) size 0x0
     28          RenderTableCol {COL} at (0,0) size 0x0
     29          RenderTableCol {COL} at (0,0) size 0x0
    2830        RenderTableSection {TBODY} at (1,1) size 539x26
    2931          RenderTableRow {TR} at (0,2) size 539x22
  • trunk/LayoutTests/platform/mac/tables/mozilla/dom/deleteCol2-expected.txt

    r30635 r63472  
    88          text run at (0,0) width 214: "The 2 tables should look the same"
    99      RenderTable {TABLE} at (0,18) size 441x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
     10        RenderTableCol {COLGROUP} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
    1213        RenderTableSection {TBODY} at (1,1) size 439x26
    1314          RenderTableRow {TR} at (0,2) size 439x22
     
    2425        RenderBR {BR} at (0,0) size 0x18
    2526      RenderTable {TABLE} at (0,64) size 441x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    26         RenderTableCol {COL} at (0,0) size 0x0
    27         RenderTableCol {COL} at (0,0) size 0x0
     27        RenderTableCol {COLGROUP} at (0,0) size 0x0
     28          RenderTableCol {COL} at (0,0) size 0x0
     29          RenderTableCol {COL} at (0,0) size 0x0
    2830        RenderTableSection {TBODY} at (1,1) size 439x26
    2931          RenderTableRow {TR} at (0,2) size 439x22
  • trunk/LayoutTests/platform/mac/tables/mozilla/dom/deleteCol3-expected.txt

    r30635 r63472  
    88          text run at (0,0) width 214: "The 2 tables should look the same"
    99      RenderTable {TABLE} at (0,18) size 341x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
     10        RenderTableCol {COLGROUP} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
    1213        RenderTableSection {TBODY} at (1,1) size 339x26
    1314          RenderTableRow {TR} at (0,2) size 339x22
     
    2425        RenderBR {BR} at (0,0) size 0x18
    2526      RenderTable {TABLE} at (0,64) size 341x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    26         RenderTableCol {COL} at (0,0) size 0x0
    27         RenderTableCol {COL} at (0,0) size 0x0
     27        RenderTableCol {COLGROUP} at (0,0) size 0x0
     28          RenderTableCol {COL} at (0,0) size 0x0
     29          RenderTableCol {COL} at (0,0) size 0x0
    2830        RenderTableSection {TBODY} at (1,1) size 339x26
    2931          RenderTableRow {TR} at (0,2) size 339x22
  • trunk/LayoutTests/platform/mac/tables/mozilla/dom/insertCols1-expected.txt

    r30635 r63472  
    88          text run at (0,0) width 214: "The 2 tables should look the same"
    99      RenderTable {TABLE} at (0,18) size 610x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
    12         RenderTableCol {COL} at (0,0) size 0x0
     10        RenderTableCol {COLGROUP} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
     13          RenderTableCol {COL} at (0,0) size 0x0
    1314        RenderTableSection {TBODY} at (1,1) size 608x26
    1415          RenderTableRow {TR} at (0,2) size 608x22
     
    2526        RenderBR {BR} at (0,0) size 0x18
    2627      RenderTable {TABLE} at (0,64) size 610x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    27         RenderTableCol {COL} at (0,0) size 0x0
    28         RenderTableCol {COL} at (0,0) size 0x0
    29         RenderTableCol {COL} at (0,0) size 0x0
     28        RenderTableCol {COLGROUP} at (0,0) size 0x0
     29          RenderTableCol {COL} at (0,0) size 0x0
     30          RenderTableCol {COL} at (0,0) size 0x0
     31          RenderTableCol {COL} at (0,0) size 0x0
    3032        RenderTableSection {TBODY} at (1,1) size 608x26
    3133          RenderTableRow {TR} at (0,2) size 608x22
  • trunk/LayoutTests/platform/mac/tables/mozilla/dom/insertCols2-expected.txt

    r30635 r63472  
    88          text run at (0,0) width 214: "The 2 tables should look the same"
    99      RenderTable {TABLE} at (0,18) size 610x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
    12         RenderTableCol {COL} at (0,0) size 0x0
     10        RenderTableCol {COLGROUP} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
     13          RenderTableCol {COL} at (0,0) size 0x0
    1314        RenderTableSection {TBODY} at (1,1) size 608x26
    1415          RenderTableRow {TR} at (0,2) size 608x22
     
    2526        RenderBR {BR} at (0,0) size 0x18
    2627      RenderTable {TABLE} at (0,64) size 610x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    27         RenderTableCol {COL} at (0,0) size 0x0
    28         RenderTableCol {COL} at (0,0) size 0x0
    29         RenderTableCol {COL} at (0,0) size 0x0
     28        RenderTableCol {COLGROUP} at (0,0) size 0x0
     29          RenderTableCol {COL} at (0,0) size 0x0
     30          RenderTableCol {COL} at (0,0) size 0x0
     31          RenderTableCol {COL} at (0,0) size 0x0
    3032        RenderTableSection {TBODY} at (1,1) size 608x26
    3133          RenderTableRow {TR} at (0,2) size 608x22
  • trunk/LayoutTests/platform/mac/tables/mozilla/dom/insertCols3-expected.txt

    r30635 r63472  
    88          text run at (0,0) width 214: "The 2 tables should look the same"
    99      RenderTable {TABLE} at (0,18) size 512x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
    12         RenderTableCol {COL} at (0,0) size 0x0
    13         RenderTableCol {COL} at (0,0) size 0x0
     10        RenderTableCol {COLGROUP} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
     13          RenderTableCol {COL} at (0,0) size 0x0
     14          RenderTableCol {COL} at (0,0) size 0x0
    1415        RenderTableSection {TBODY} at (1,1) size 510x26
    1516          RenderTableRow {TR} at (0,2) size 510x22
     
    2930        RenderBR {BR} at (0,0) size 0x18
    3031      RenderTable {TABLE} at (0,64) size 512x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    31         RenderTableCol {COL} at (0,0) size 0x0
    32         RenderTableCol {COL} at (0,0) size 0x0
    33         RenderTableCol {COL} at (0,0) size 0x0
    34         RenderTableCol {COL} at (0,0) size 0x0
     32        RenderTableCol {COLGROUP} at (0,0) size 0x0
     33          RenderTableCol {COL} at (0,0) size 0x0
     34          RenderTableCol {COL} at (0,0) size 0x0
     35          RenderTableCol {COL} at (0,0) size 0x0
     36          RenderTableCol {COL} at (0,0) size 0x0
    3537        RenderTableSection {TBODY} at (1,1) size 510x26
    3638          RenderTableRow {TR} at (0,2) size 510x22
  • trunk/LayoutTests/platform/mac/tables/mozilla/marvin/col_span-expected.txt

    r30635 r63472  
    99          text run at (0,18) width 101: "SPAN attribute."
    1010      RenderTable {TABLE} at (0,52) size 560x52 [border: (1px outset #808080)]
    11         RenderTableCol {COL} at (0,0) size 0x0
     11        RenderTableCol {COLGROUP} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
    1213        RenderTableSection {TBODY} at (1,1) size 558x50
    1314          RenderTableRow {TR} at (0,2) size 558x22
  • trunk/LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug29058-2-expected.txt

    r63403 r63472  
    99            text run at (11,0) width 128: "Table with no width"
    1010            text run at (49,18) width 51: "attribute"
    11         RenderTableCol {COL} at (0,0) size 0x0
    12         RenderTableCol {COL} at (0,0) size 0x0
    13         RenderTableCol {COL} at (0,0) size 0x0
    14         RenderTableCol {COL} at (0,0) size 0x0
     11        RenderTableCol {COLGROUP} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
     13          RenderTableCol {COL} at (0,0) size 0x0
     14          RenderTableCol {COL} at (0,0) size 0x0
     15          RenderTableCol {COL} at (0,0) size 0x0
    1516        RenderTableSection {TBODY} at (1,37) size 150x26
    1617          RenderTableRow {TR} at (0,2) size 150x22
     
    3435          RenderText {#text} at (123,0) size 252x18
    3536            text run at (123,0) width 252: "Table with fixed width attribute =500px"
    36         RenderTableCol {COL} at (0,0) size 0x0
    37         RenderTableCol {COL} at (0,0) size 0x0
    38         RenderTableCol {COL} at (0,0) size 0x0
    39         RenderTableCol {COL} at (0,0) size 0x0
     37        RenderTableCol {COLGROUP} at (0,0) size 0x0
     38          RenderTableCol {COL} at (0,0) size 0x0
     39          RenderTableCol {COL} at (0,0) size 0x0
     40          RenderTableCol {COL} at (0,0) size 0x0
     41          RenderTableCol {COL} at (0,0) size 0x0
    4042        RenderTableSection {TBODY} at (1,19) size 498x26
    4143          RenderTableRow {TR} at (0,2) size 498x22
     
    6466          RenderText {#text} at (284,0) size 213x18
    6567            text run at (284,0) width 213: "Table with width attribute =100%"
    66         RenderTableCol {COL} at (0,0) size 0x0
    67         RenderTableCol {COL} at (0,0) size 0x0
    68         RenderTableCol {COL} at (0,0) size 0x0
    69         RenderTableCol {COL} at (0,0) size 0x0
     68        RenderTableCol {COLGROUP} at (0,0) size 0x0
     69          RenderTableCol {COL} at (0,0) size 0x0
     70          RenderTableCol {COL} at (0,0) size 0x0
     71          RenderTableCol {COL} at (0,0) size 0x0
     72          RenderTableCol {COL} at (0,0) size 0x0
    7073        RenderTableSection {TBODY} at (1,19) size 782x26
    7174          RenderTableRow {TR} at (0,2) size 782x22
     
    8992          RenderText {#text} at (141,0) size 216x18
    9093            text run at (141,0) width 216: "Table with width attribute =500px"
    91         RenderTableCol {COL} at (0,0) size 0x0
    92         RenderTableCol {COL} at (0,0) size 0x0
    93         RenderTableCol {COL} at (0,0) size 0x0
    94         RenderTableCol {COL} at (0,0) size 0x0
     94        RenderTableCol {COLGROUP} at (0,0) size 0x0
     95          RenderTableCol {COL} at (0,0) size 0x0
     96          RenderTableCol {COL} at (0,0) size 0x0
     97          RenderTableCol {COL} at (0,0) size 0x0
     98          RenderTableCol {COL} at (0,0) size 0x0
    9599        RenderTableSection {TBODY} at (1,19) size 498x26
    96100          RenderTableRow {TR} at (0,2) size 498x22
     
    114118          RenderText {#text} at (284,0) size 213x18
    115119            text run at (284,0) width 213: "Table with width attribute =100%"
    116         RenderTableCol {COL} at (0,0) size 0x0
    117         RenderTableCol {COL} at (0,0) size 0x0
    118         RenderTableCol {COL} at (0,0) size 0x0
    119         RenderTableCol {COL} at (0,0) size 0x0
     120        RenderTableCol {COLGROUP} at (0,0) size 0x0
     121          RenderTableCol {COL} at (0,0) size 0x0
     122          RenderTableCol {COL} at (0,0) size 0x0
     123          RenderTableCol {COL} at (0,0) size 0x0
     124          RenderTableCol {COL} at (0,0) size 0x0
    120125        RenderTableSection {TBODY} at (1,19) size 782x26
    121126          RenderTableRow {TR} at (0,2) size 782x22
  • trunk/LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug47163-expected.txt

    r30635 r63472  
    55    RenderBody {BODY} at (8,8) size 784x68
    66      RenderTable {TABLE} at (0,0) size 784x68
    7         RenderTableCol {COL} at (0,0) size 0x0
    8         RenderTableCol {COL} at (0,0) size 0x0
    9         RenderTableCol {COL} at (0,0) size 0x0
    10         RenderTableCol {COL} at (0,0) size 0x0
    11         RenderTableCol {COL} at (0,0) size 0x0
     7        RenderTableCol {COLGROUP} at (0,0) size 0x0
     8          RenderTableCol {COL} at (0,0) size 0x0
     9          RenderTableCol {COL} at (0,0) size 0x0
     10          RenderTableCol {COL} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
     12          RenderTableCol {COL} at (0,0) size 0x0
    1213        RenderTableSection {TBODY} at (0,0) size 784x68
    1314          RenderTableRow {TR} at (0,0) size 784x68
  • trunk/LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug7243-expected.txt

    r30635 r63472  
    55    RenderBody {BODY} at (8,8) size 784x584
    66      RenderTable {TABLE} at (0,0) size 332x44 [border: (1px outset #808080)]
    7         RenderTableCol {COL} at (0,0) size 0x0
    8         RenderTableCol {COL} at (0,0) size 0x0
     7        RenderTableCol {COLGROUP} at (0,0) size 0x0
     8          RenderTableCol {COL} at (0,0) size 0x0
     9          RenderTableCol {COL} at (0,0) size 0x0
    910        RenderTableSection {TBODY} at (1,1) size 330x42
    1011          RenderTableRow {TR} at (0,10) size 330x22
     
    1819        RenderBR {BR} at (0,0) size 0x18
    1920      RenderTable {TABLE} at (0,62) size 400x24 [border: (1px outset #808080)]
    20         RenderTableCol {COL} at (0,0) size 0x0
    21         RenderTableCol {COL} at (0,0) size 0x0
     21        RenderTableCol {COLGROUP} at (0,0) size 0x0
     22          RenderTableCol {COL} at (0,0) size 0x0
     23          RenderTableCol {COL} at (0,0) size 0x0
    2224        RenderTableSection {TBODY} at (1,1) size 398x22
    2325          RenderTableRow {TR} at (0,0) size 398x22
     
    3133        RenderBR {BR} at (0,0) size 0x18
    3234      RenderTable {TABLE} at (0,104) size 302x24 [border: (1px outset #808080)]
    33         RenderTableCol {COL} at (0,0) size 0x0
    34         RenderTableCol {COL} at (0,0) size 0x0
     35        RenderTableCol {COLGROUP} at (0,0) size 0x0
     36          RenderTableCol {COL} at (0,0) size 0x0
     37          RenderTableCol {COL} at (0,0) size 0x0
    3538        RenderTableSection {TBODY} at (1,1) size 300x22
    3639          RenderTableRow {TR} at (0,0) size 300x22
     
    4447        RenderBR {BR} at (0,0) size 0x18
    4548      RenderTable {TABLE} at (0,146) size 336x44 [border: (1px outset #808080)]
    46         RenderTableCol {COL} at (0,0) size 0x0
     49        RenderTableCol {COLGROUP} at (0,0) size 0x0
     50          RenderTableCol {COL} at (0,0) size 0x0
    4751        RenderTableSection {TBODY} at (1,1) size 334x42
    4852          RenderTableRow {TR} at (0,10) size 334x22
     
    8892        RenderBR {BR} at (0,0) size 0x18
    8993      RenderTable {TABLE} at (0,376) size 784x100 [border: (1px outset #808080)]
    90         RenderTableCol {COL} at (0,0) size 0x0
    91         RenderTableCol {COL} at (0,0) size 0x0
     94        RenderTableCol {COLGROUP} at (0,0) size 0x0
     95          RenderTableCol {COL} at (0,0) size 0x0
     96          RenderTableCol {COL} at (0,0) size 0x0
    9297        RenderTableSection {TBODY} at (1,1) size 782x98
    9398          RenderTableRow {TR} at (0,10) size 782x78
     
    101106        RenderBR {BR} at (0,0) size 0x18
    102107      RenderTable {TABLE} at (0,494) size 100x44 [border: (1px outset #808080)]
    103         RenderTableCol {COL} at (0,0) size 0x0
    104         RenderTableCol {COL} at (0,0) size 0x0
     108        RenderTableCol {COLGROUP} at (0,0) size 0x0
     109          RenderTableCol {COL} at (0,0) size 0x0
     110          RenderTableCol {COL} at (0,0) size 0x0
    105111        RenderTableSection {TBODY} at (1,1) size 98x42
    106112          RenderTableRow {TR} at (0,10) size 98x22
     
    117123        RenderBR {BR} at (0,0) size 0x18
    118124      RenderTable {TABLE} at (0,556) size 302x24 [border: (1px outset #808080)]
    119         RenderTableCol {COL} at (0,0) size 0x0
    120         RenderTableCol {COL} at (0,0) size 0x0
     125        RenderTableCol {COLGROUP} at (0,0) size 0x0
     126          RenderTableCol {COL} at (0,0) size 0x0
     127          RenderTableCol {COL} at (0,0) size 0x0
    121128        RenderTableSection {TBODY} at (1,1) size 300x22
    122129          RenderTableRow {TR} at (0,0) size 300x22
  • trunk/LayoutTests/platform/mac/tables/mozilla_expected_failures/core/backgrounds-expected.txt

    r63403 r63472  
    364364          text run at (0,18) width 55: "col color"
    365365      RenderTable {TABLE} at (0,1922) size 39x36 [border: (1px outset #808080)]
    366         RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FF0000]
     366        RenderTableCol {COLGROUP} at (0,0) size 0x0
     367          RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FF0000]
    367368        RenderTableSection {TBODY} at (1,1) size 37x34
    368369          RenderTableRow {TR} at (0,6) size 37x22
     
    414415          text run at (0,18) width 61: "col image"
    415416      RenderTable {TABLE} at (0,2230) size 75x70 [border: (1px outset #808080)]
    416         RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FF0000]
     417        RenderTableCol {COLGROUP} at (0,0) size 0x0
     418          RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FF0000]
    417419        RenderTableSection {TBODY} at (7,7) size 61x56
    418420          RenderTableRow {TR} at (0,4) size 61x22
  • trunk/LayoutTests/platform/mac/tables/mozilla_expected_failures/core/col_span2-expected.txt

    r30635 r63472  
    991991        RenderBR {BR} at (0,0) size 0x18
    992992      RenderTable {TABLE} at (0,4059) size 25x22 [border: (1px outset #808080)]
    993         RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FF0000]
    994         RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#0000FF]
     993        RenderTableCol {COLGROUP} at (0,0) size 0x0
     994          RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#FF0000]
     995          RenderTableCol {COL} at (0,0) size 0x0 [bgcolor=#0000FF]
    995996        RenderTableSection {TBODY} at (1,1) size 23x20
    996997          RenderTableRow {TR} at (0,0) size 23x20
  • trunk/LayoutTests/platform/mac/tables/mozilla_expected_failures/core/cols1-expected.txt

    r30635 r63472  
    3737          text run at (0,18) width 197: "Both columns should be 200px"
    3838      RenderTable {TABLE} at (0,146) size 408x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    39         RenderTableCol {COL} at (0,0) size 0x0
     39        RenderTableCol {COLGROUP} at (0,0) size 0x0
     40          RenderTableCol {COL} at (0,0) size 0x0
    4041        RenderTableSection {TBODY} at (1,1) size 406x26
    4142          RenderTableRow {TR} at (0,2) size 406x22
  • trunk/LayoutTests/platform/mac/tables/mozilla_expected_failures/core/columns-expected.txt

    r30635 r63472  
    4040          text run at (0,18) width 174: "auto table 2 cols with 1*,1*"
    4141      RenderTable {TABLE} at (0,146) size 197x28 [border: (1px outset #808080)]
    42         RenderTableCol {COL} at (0,0) size 0x0
    43         RenderTableCol {COL} at (0,0) size 0x0
     42        RenderTableCol {COLGROUP} at (0,0) size 0x0
     43          RenderTableCol {COL} at (0,0) size 0x0
     44          RenderTableCol {COL} at (0,0) size 0x0
    4445        RenderTableSection {TBODY} at (1,1) size 195x26
    4546          RenderTableRow {TR} at (0,2) size 195x22
     
    5859          text run at (0,18) width 174: "auto table 2 cols with 2*,1*"
    5960      RenderTable {TABLE} at (0,210) size 197x28 [border: (1px outset #808080)]
    60         RenderTableCol {COL} at (0,0) size 0x0
    61         RenderTableCol {COL} at (0,0) size 0x0
     61        RenderTableCol {COLGROUP} at (0,0) size 0x0
     62          RenderTableCol {COL} at (0,0) size 0x0
     63          RenderTableCol {COL} at (0,0) size 0x0
    6264        RenderTableSection {TBODY} at (1,1) size 195x26
    6365          RenderTableRow {TR} at (0,2) size 195x22
     
    213215          text run at (0,18) width 61: "auto table"
    214216      RenderTable {TABLE} at (0,832) size 82x28 [border: (1px outset #808080)]
    215         RenderTableCol {COL} at (0,0) size 0x0
     217        RenderTableCol {COLGROUP} at (0,0) size 0x0
     218          RenderTableCol {COL} at (0,0) size 0x0
    216219        RenderTableSection {TBODY} at (1,1) size 80x26
    217220          RenderTableRow {TR} at (0,2) size 80x22
     
    227230          text run at (0,18) width 66: "fixed table"
    228231      RenderTable {TABLE} at (0,896) size 200x28 [border: (1px outset #808080)]
    229         RenderTableCol {COL} at (0,0) size 0x0
     232        RenderTableCol {COLGROUP} at (0,0) size 0x0
     233          RenderTableCol {COL} at (0,0) size 0x0
    230234        RenderTableSection {TBODY} at (1,1) size 198x26
    231235          RenderTableRow {TR} at (0,2) size 198x22
  • trunk/LayoutTests/platform/mac/tables/mozilla_expected_failures/core/conflicts-expected.txt

    r30635 r63472  
    6262          text run at (0,18) width 344: "fixed table - percent cell wins over fix cell (and in IE5)"
    6363      RenderTable {TABLE} at (0,304) size 500x52 [border: (1px outset #808080)]
    64         RenderTableCol {COL} at (0,0) size 0x0
     64        RenderTableCol {COLGROUP} at (0,0) size 0x0
     65          RenderTableCol {COL} at (0,0) size 0x0
    6566        RenderTableSection {TBODY} at (1,1) size 498x50
    6667          RenderTableRow {TR} at (0,2) size 498x22
     
    8384          text run at (0,18) width 344: "fixed table - percent cell wins over fix cell (and in IE5)"
    8485      RenderTable {TABLE} at (0,392) size 500x52 [border: (1px outset #808080)]
    85         RenderTableCol {COL} at (0,0) size 0x0
     86        RenderTableCol {COLGROUP} at (0,0) size 0x0
     87          RenderTableCol {COL} at (0,0) size 0x0
    8688        RenderTableSection {TBODY} at (1,1) size 498x50
    8789          RenderTableRow {TR} at (0,2) size 498x22
     
    104106          text run at (0,18) width 344: "fixed table - percent cell wins over fix cell (and in IE5)"
    105107      RenderTable {TABLE} at (0,480) size 500x52 [border: (1px outset #808080)]
    106         RenderTableCol {COL} at (0,0) size 0x0
     108        RenderTableCol {COLGROUP} at (0,0) size 0x0
     109          RenderTableCol {COL} at (0,0) size 0x0
    107110        RenderTableSection {TBODY} at (1,1) size 498x50
    108111          RenderTableRow {TR} at (0,2) size 498x22
     
    125128          text run at (0,18) width 344: "fixed table - percent cell wins over fix cell (and in IE5)"
    126129      RenderTable {TABLE} at (0,568) size 500x52 [border: (1px outset #808080)]
    127         RenderTableCol {COL} at (0,0) size 0x0
     130        RenderTableCol {COLGROUP} at (0,0) size 0x0
     131          RenderTableCol {COL} at (0,0) size 0x0
    128132        RenderTableSection {TBODY} at (1,1) size 498x50
    129133          RenderTableRow {TR} at (0,2) size 498x22
     
    296300          text run at (0,18) width 373: "percent cell/col percentage conflict goes to cell (and in IE5)"
    297301      RenderTable {TABLE} at (0,1256) size 500x34 [border: (1px outset #808080)]
    298         RenderTableCol {COL} at (0,0) size 0x0
     302        RenderTableCol {COLGROUP} at (0,0) size 0x0
     303          RenderTableCol {COL} at (0,0) size 0x0
    299304        RenderTableSection {TBODY} at (1,1) size 498x32
    300305          RenderTableRow {TR} at (0,5) size 498x22
  • trunk/LayoutTests/platform/mac/tables/mozilla_expected_failures/dom/appendCol1-expected.txt

    r30635 r63472  
    88          text run at (0,0) width 214: "The 2 tables should look the same"
    99      RenderTable {TABLE} at (0,18) size 62x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    10         RenderTableCol {COL} at (0,0) size 0x0
     10        RenderTableCol {COLGROUP} at (0,0) size 0x0
     11          RenderTableCol {COL} at (0,0) size 0x0
    1112        RenderTableSection {TBODY} at (1,1) size 60x26
    1213          RenderTableRow {TR} at (0,2) size 60x22
     
    2122        RenderBR {BR} at (0,0) size 0x18
    2223      RenderTable {TABLE} at (0,64) size 235x28 [bgcolor=#FFA500] [border: (1px outset #808080)]
    23         RenderTableCol {COL} at (0,0) size 0x0
    24         RenderTableCol {COL} at (0,0) size 0x0
     24        RenderTableCol {COLGROUP} at (0,0) size 0x0
     25          RenderTableCol {COL} at (0,0) size 0x0
     26          RenderTableCol {COL} at (0,0) size 0x0
    2527        RenderTableSection {TBODY} at (1,1) size 233x26
    2628          RenderTableRow {TR} at (0,2) size 233x22
  • trunk/WebCore/ChangeLog

    r63467 r63472  
     12010-07-15  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        LegacyHTMLTreeBuilder should insert an implicit <colgroup> before inserting <col> to match HTML5
     6        https://bugs.webkit.org/show_bug.cgi?id=42346
     7
     8        This turned out to be an easy fix.
     9
     10        This is covered by lots of layout tests.  I believe
     11        all of the changed results to be progressions.
     12
     13        This change had no measurable effect on the parser benchmark.
     14
     15        * html/LegacyHTMLTreeBuilder.cpp:
     16        (WebCore::LegacyHTMLTreeBuilder::colCreateErrorCheck):
     17        (WebCore::LegacyHTMLTreeBuilder::getNode):
     18        * html/LegacyHTMLTreeBuilder.h:
     19
    1202010-07-15  Sam Weinig  <sam@webkit.org>
    221
  • trunk/WebCore/html/LegacyHTMLTreeBuilder.cpp

    r63403 r63472  
    885885}
    886886
     887bool LegacyHTMLTreeBuilder::colCreateErrorCheck(Token*, RefPtr<Node>&)
     888{
     889    if (!m_current->hasTagName(tableTag))
     890        return true;
     891    RefPtr<Element> implicitColgroup = HTMLElementFactory::createHTMLElement(colgroupTag, m_document, 0, true);
     892    insertNode(implicitColgroup.get());
     893    return true;
     894}
     895
    887896bool LegacyHTMLTreeBuilder::tableCellCreateErrorCheck(Token*, RefPtr<Node>&)
    888897{
     
    978987
    979988        mapTagToFunc(gFunctionMap, bodyTag, &LegacyHTMLTreeBuilder::bodyCreateErrorCheck);
     989        mapTagToFunc(gFunctionMap, colTag, &LegacyHTMLTreeBuilder::colCreateErrorCheck);
    980990        mapTagToFunc(gFunctionMap, ddTag, &LegacyHTMLTreeBuilder::ddCreateErrorCheck);
    981991        mapTagToFunc(gFunctionMap, dtTag, &LegacyHTMLTreeBuilder::dtCreateErrorCheck);
  • trunk/WebCore/html/LegacyHTMLTreeBuilder.h

    r61678 r63472  
    8686    bool bodyCreateErrorCheck(Token*, RefPtr<Node>&);
    8787    bool canvasCreateErrorCheck(Token*, RefPtr<Node>&);
     88    bool colCreateErrorCheck(Token*, RefPtr<Node>&);
    8889    bool commentCreateErrorCheck(Token*, RefPtr<Node>&);
    8990    bool ddCreateErrorCheck(Token*, RefPtr<Node>&);
Note: See TracChangeset for help on using the changeset viewer.