mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
Automatic update from web-platform-tests [LayoutNG] Fix placing floats within zero available space. There was special logic added for zero width inlines in: https://chromium-review.googlesource.com/c/chromium/src/+/870950/ This logic allowed for zero-width layout opportunities beside floats for inline-level content. This also added a TODO saying this was probably wrong for floats. .... it turned out this was wrong for floats. :) This adds a flag to switch between these two behaviours. Bug: 988505 Change-Id: I2db5e0b9cb6f90cb131821ad205728289d9098ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1725309 Reviewed-by: Koji Ishii <kojii@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#682265} -- wpt-commits: 179f0011944fe49e83669ef7931605a1bbf827ef wpt-pr: 18158
9 lines
475 B
HTML
9 lines
475 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://www.w3.org/TR/CSS22/visudet.html#float-width" title="10.3.5 Floating, non-replaced elements">
|
|
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
|
|
<p>Test passes if there is a filled green square.</p>
|
|
<div style="width: 0px;">
|
|
<div style="float: left; width: 100px; height: 50px; background: green;"></div>
|
|
<div style="float: left; width: 100px; height: 50px; background: green;"></div>
|
|
</div>
|
|
|