Description[LayoutNG] Fix IsEmptyBlock check within block_layout_algorithm.
Previoiusly we were just checking fragment.BlockSize() which was error
prone as:
<div style="height: 0px;">text</div>
... would have been considered an empty block.
Now the check uses the presence of the BfcOffset on the child's layout
result. If it isn't present, the child must be empty.
BUG=635619
Review-Url: https://codereview.chromium.org/2982643002
Cr-Commit-Position: refs/heads/master@{#486440}
Committed: https://chromium.googlesource.com/chromium/src/+/d82e3fae8315a1eee30b27522ccdb284bdd8ad3c
Patch Set 1 #Patch Set 2 : slight change. #Patch Set 3 : rebase. #
Messages
Total messages: 12 (8 generated)
|