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

Issue 236913002: [New Multicolumn] Destroy line box tree when evacuating the flowthread for multicol. (Closed)

Created:
6 years, 8 months ago by mstensho (USE GERRIT)
Modified:
6 years, 8 months ago
CC:
blink-reviews, mstensho+blink_opera.com, chromiumbugtracker_adobe.com, zoltan1, dsinclair, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[New Multicolumn] Destroy line box tree when evacuating the flowthread for multicol. The life of (in)line boxes is mysterious. They are allowed to temporarily point to dead inline children or line box parents. It's also allowed for InlineTextBox objects to be unrooted temporarily, apparently. All this should be cleaned up, but for now, just do the same in the new multicol code as everywhere else: manually take care of deleting the line box tree before destroying the box you're emptying. BUG=362865 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172054

Patch Set 1 #

Total comments: 2

Patch Set 2 : Code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -1 line) Patch
A LayoutTests/fast/multicol/inline-children-crash.html View 1 1 chunk +17 lines, -0 lines 0 comments Download
A + LayoutTests/fast/multicol/inline-children-crash-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderMultiColumnFlowThread.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
mstensho (USE GERRIT)
6 years, 8 months ago (2014-04-14 10:48:07 UTC) #1
mstensho (USE GERRIT)
There is similar code here: - RenderRubyBase::moveBlockChildren() - RenderBlock::collapseAnonymousBlockChild() - RenderBlock::removeChild() and probably more I ...
6 years, 8 months ago (2014-04-14 10:56:14 UTC) #2
mstensho (USE GERRIT)
@esprehn, could you take a look? Seems that this will fix bug 364519 too.
6 years, 8 months ago (2014-04-17 19:37:14 UTC) #3
mstensho (USE GERRIT)
Adding more reviewers. Please take a look. This fixes a crasher.
6 years, 8 months ago (2014-04-21 13:52:32 UTC) #4
esprehn
lgtm, indeed we need to fix the lifetime of the linebox tree. I talked to ...
6 years, 8 months ago (2014-04-21 16:45:02 UTC) #5
mstensho (USE GERRIT)
https://codereview.chromium.org/236913002/diff/1/LayoutTests/fast/multicol/inline-children-crash.html File LayoutTests/fast/multicol/inline-children-crash.html (right): https://codereview.chromium.org/236913002/diff/1/LayoutTests/fast/multicol/inline-children-crash.html#newcode9 LayoutTests/fast/multicol/inline-children-crash.html:9: document.getElementById('mc').style.WebkitColumns = 'auto'; On 2014/04/21 16:45:02, esprehn wrote: > ...
6 years, 8 months ago (2014-04-21 17:05:07 UTC) #6
mstensho (USE GERRIT)
The CQ bit was checked by mstensho@opera.com
6 years, 8 months ago (2014-04-21 17:05:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mstensho@opera.com/236913002/10001
6 years, 8 months ago (2014-04-21 17:05:18 UTC) #8
commit-bot: I haz the power
6 years, 8 months ago (2014-04-21 18:13:50 UTC) #9
Message was sent while issue was closed.
Change committed as 172054

Powered by Google App Engine
This is Rietveld 408576698