WebCore:
Reviewed by Dave Hyatt.
- fix <rdar://problem/
5612459> CrashTracer: [REGRESSION] 61 crashes in Safari at com.apple.WebCore: WebCore::AutoTableLayout::layout + 2046
Test: fast/table/empty-auto-column-zero-divide.html
* rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::recalcColumn):
(WebCore::AutoTableLayout::fullRecalc):
(WebCore::AutoTableLayout::calcEffectiveWidth):
(WebCore::AutoTableLayout::layout): When distributing the remaining
width among columns, skip those whose effective (rather than
specified) width is auto and contain only empty cells.
LayoutTests:
Reviewed by Dave Hyatt.
- test for <rdar://problem/
5612459> CrashTracer: [REGRESSION] 61 crashes in Safari at com.apple.WebCore: WebCore::AutoTableLayout::layout + 2046
* fast/table/empty-auto-column-zero-divide-expected.txt: Added.
* fast/table/empty-auto-column-zero-divide.html: Added.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28118
268f45cc-cd09-0410-ab3c-
d52691b4dbfc