commit | d82e3fae8315a1eee30b27522ccdb284bdd8ad3c | [log] [tgz] |
---|---|---|
author | ikilpatrick <ikilpatrick@chromium.org> | Thu Jul 13 18:10:10 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 13 18:10:10 2017 |
tree | 2a60a06761d186b7439c3110fe66805863a03238 | |
parent | ae67f19c066747ebc8f5cfe2e705b8169b508c21 [diff] |
[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}