DescriptionFactor 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
Committed: https://crrev.com/77e28bf27545d7c9cc00a77bf81f4e5c2cbd22ed
Cr-Commit-Position: refs/heads/master@{#353021}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 7 (1 generated)
|