commit | 0a6a1e10d86324dd4a9fdf4753b0eac2335a6b08 | [log] [tgz] |
---|---|---|
author | Morten Stenshorne <mstensho@chromium.org> | Mon May 06 17:35:39 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 06 17:35:39 2019 |
tree | e18af22c04dcca61ae71f4842a0df3867d425136 | |
parent | 239711874254aced3197862b1bb1ed9fdce999c2 [diff] |
Legends aren't affected by floats in the fieldset. Sometimes after laying out a float, we end up marking subsequent blocks for layout, because their size may be affected by the float. This should never happen to legends, though. First of all, they are kind of taken out of flow and laid out as if it were the first child, even though there may be preceding floats in the DOM (so they cannot be affected by any floats). That means that they are actually already laid out when we get to any float, and marking the legend for layout again then, means that we'd finish layout of the document, with the legend still being marked as needing layout. Bug: 959518 Change-Id: I7a40af44c76041a24abd3201cb3c539c4f50bd10 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1596667 Commit-Queue: Emil A Eklund <eae@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#656852}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .