diff --git a/layout/reftests/table-width/dynamic-fixed-layout-1-ref.html b/layout/reftests/table-width/dynamic-fixed-layout-1-ref.html new file mode 100644 index 000000000000..703fb51d56b6 --- /dev/null +++ b/layout/reftests/table-width/dynamic-fixed-layout-1-ref.html @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + +
ABC
DEF
+ + diff --git a/layout/reftests/table-width/dynamic-fixed-layout-1.html b/layout/reftests/table-width/dynamic-fixed-layout-1.html new file mode 100644 index 000000000000..8897aa7265af --- /dev/null +++ b/layout/reftests/table-width/dynamic-fixed-layout-1.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + +
ABC
DEF
+ + diff --git a/layout/reftests/table-width/reftest.list b/layout/reftests/table-width/reftest.list index 584d57d4904c..a42ebc734c9f 100644 --- a/layout/reftests/table-width/reftest.list +++ b/layout/reftests/table-width/reftest.list @@ -58,3 +58,4 @@ fails == default-box-sizing-collapse-quirks.html default-box-sizing-collapse-qui == colgroup-vs-column-2.html colgroup-vs-column-2-ref.html == colgroup-vs-column-3.html colgroup-vs-column-3-ref.html == colgroup-vs-column-4.html colgroup-vs-column-4-ref.html +== dynamic-fixed-layout-1.html dynamic-fixed-layout-1-ref.html diff --git a/layout/tables/FixedTableLayoutStrategy.cpp b/layout/tables/FixedTableLayoutStrategy.cpp index 36ae1d749b12..2aa67899d17c 100644 --- a/layout/tables/FixedTableLayoutStrategy.cpp +++ b/layout/tables/FixedTableLayoutStrategy.cpp @@ -438,7 +438,7 @@ FixedTableLayoutStrategy::ComputeColumnWidths(const nsHTMLReflowState& aReflowSt } if (oldColWidths.ElementAt(col) != colFrame->GetFinalWidth()) { mTableFrame->DidResizeColumns(); - } break; + } } }