[New Multicolumn] Don't return the wrong flow thread from locateFlowThreadContainingBlock().

LayoutListItem::updateMarkerLocationAndInvalidateWidth() does nasty
things (inserts layout objects at "random" places in the tree during
layout), so we need to temporarily reset the current flow thread in
LayoutState, or we might end up locating the wrong one in
LayoutObject::locateFlowThreadContainingBlock(). Need this until
crbug.com/370461 gets fixed.

This makes fast/lists/list-inside-columns-crash.html pass with the new multicol
implementation, but since that test is still running with the old multicol
implementation, I added a simplified tailored test that's actually run.

BUG=334335,460251
R=dsinclair@chromium.org,jchaffraix@chromium.org

Review URL: https://codereview.chromium.org/1021143004

git-svn-id: svn://svn.chromium.org/blink/trunk@192423 bbb929c8-8fbe-4397-9dbb-9b2b20218538
4 files changed
tree: 060ebc980f05454e48e4e4420d995fb29fab05e6
  1. third_party/