Factor out the actual break checking from apply{After,Before}Break().
We're soon going to call this from the column balancing code.
Moved inNormalFlow() to isForcedBreakAllowed(). The new function performs some
additional checks to make sure it's an in-flow block level element. That
assumption could safely be made from apply{After,Before}Break(), but other call
sites shouldn't have to worry about such things.
Removed FIXME pair for something that was already working.
R=jchaffraix@chromium.org,leviw@chromium.org
Review URL: https://codereview.chromium.org/1393673004
Cr-Commit-Position: refs/heads/master@{#353021}
3 files changed