Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Issue 111873005: ASSERTION FAILED: !object || object->isTable() (Closed)

Created:
7 years ago by Julien - ping for review
Modified:
7 years ago
CC:
blink-reviews, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, zoltan1
Visibility:
Public.

Description

ASSERTION FAILED: !object || object->isTable() The issue is caused by call sites of RenderBlock::addChildIgnoringAnonymousColumnBlocks that basically bypass the RenderTable::addChild logic causing all sorts of mayhem. The fix I decided on is to fix the previous RenderBlock function as it's the safest approach to the current madness. This change adds an extra ASSERT into RenderObjectChildList to catch further problem earlier. BUG=309421 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164125

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -1 line) Patch
A LayoutTests/fast/table/bad-table-insert-anonymous-multi-column.html View 1 chunk +38 lines, -0 lines 0 comments Download
A + LayoutTests/fast/table/bad-table-insert-anonymous-multi-column-expected.txt View 0 chunks +-1 lines, --1 lines 2 comments Download
M Source/core/rendering/RenderBlock.cpp View 2 chunks +12 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderObjectChildList.cpp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Julien - ping for review
Work-around a very old bug, this should make our multi-column anonymous renderer splitting madness less ...
7 years ago (2013-12-13 19:51:17 UTC) #1
leviw_travelin_and_unemployed
I've just been in this code, too. Sad, but lgtm. Thanks, sir! https://codereview.chromium.org/111873005/diff/1/LayoutTests/fast/table/bad-table-insert-anonymous-multi-column-expected.txt File LayoutTests/fast/table/bad-table-insert-anonymous-multi-column-expected.txt ...
7 years ago (2013-12-17 00:17:56 UTC) #2
Julien - ping for review
https://codereview.chromium.org/111873005/diff/1/LayoutTests/fast/table/bad-table-insert-anonymous-multi-column-expected.txt File LayoutTests/fast/table/bad-table-insert-anonymous-multi-column-expected.txt (right): https://codereview.chromium.org/111873005/diff/1/LayoutTests/fast/table/bad-table-insert-anonymous-multi-column-expected.txt#newcode1 LayoutTests/fast/table/bad-table-insert-anonymous-multi-column-expected.txt:1: On 2013/12/17 00:17:56, Levi wrote: > The "test passes ...
7 years ago (2013-12-18 21:32:47 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jchaffraix@chromium.org/111873005/1
7 years ago (2013-12-18 21:33:02 UTC) #4
commit-bot: I haz the power
7 years ago (2013-12-18 23:45:06 UTC) #5
Message was sent while issue was closed.
Change committed as 164125

Powered by Google App Engine
This is Rietveld 408576698