[wpt-sync] Sync PR 19235 - [LayoutNG] Allow floats to be placed "before" other floats of the same type.
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 19235 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/19235
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
[LayoutNG] Allow floats to be placed "before" other floats of the same type.
Floats have some "interesting" behaviour which allows a left (or right)
float to be placed left (or right) of a previous float. This typically
isn't allowed.This occurs when a float has "negative size" e.g. it has a large
negative margin, which is larger than its width. E.g.
\<div style="width: 50px; margin-left: -150px; float: left;">\</div>In such cases the float doesn't respect the normal rules, and is
placed in a typically invalid area.This patch also changes "const LogicalSize& minimum_size" to
"const LayoutUnit minimum_inline_size" for "FindLayoutOpportunity".Bug: 1005437
Change-Id: I4c91a53911b2651346487f71c4b31ec6e0240202Reviewed-on: https://chromium-review.googlesource.com/1819356
WPT-Export-Revision: c280e911648124b30a3864e2cdaaef334f2ad80c
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=465f44371cf65ee2528438112891a0588ca1cc5e
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=13616328c663d675c393d4cee3d048e34e285d0b
Assignee | ||
Comment 3•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=aeab1fcb6596b94020abb62ea4fe80b951101ac2
Assignee | ||
Comment 4•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=994cdb310508734e0a05ee5054a1d05ad913b300
Assignee | ||
Comment 5•5 years ago
|
||
Ran 1 tests PASS : 1
Assignee | ||
Comment 6•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=7072898de2fadab37bf28f365daaa5da9bd948a2
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/912b8f439d6b [wpt PR 19235] - [LayoutNG] Allow floats to be placed "before" other floats of the same type., a=testonly
Comment 8•5 years ago
|
||
bugherder |
Description
•