[wpt-sync] Sync PR 18599 - Setting the MayHaveMargin flag with 'auto' values
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 18599 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/18599
Details from upstream follow.
Javier Fernandez <jfernandez@igalia.com> wrote:
Setting the MayHaveMargin flag with 'auto' values
The MayHaveMargin flag is used to determine if a given style has a
non-zero value for any of its marging related fields. Based on that
field we take decissions during the layout to calculate or not the
margins.When some of the margin CSS properties has 'auto' as value, we may
need to recalculate their computed value whenever the size constraints
change. This is not happening if we have the MayHaveMargin disabled, so
that the computed value remains based on the previous size.In order to force the recalculation of the 'auto' margins, this patch
enables the MayHaveMargin if the associated style field has 'auto' as
value.Additionally, grid items with auto margins must be marked for layout if
their corresponding grid areas' block-axis size changed since the last
layout.Bug: 994300
Change-Id: I44658876f7c2f2067202e45c6a552593bddfe6c9Reviewed-on: https://chromium-review.googlesource.com/1763749
WPT-Export-Revision: 3113e707c562bc38b2a4bda8c234d2294cf5f6bf
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=25387c443e5f58cdabd60bcdcb2b2513175090d4
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=72e57ff48d2ba763c546e41e514a488922d61214
Assignee | ||
Comment 3•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=1ceebda0759e98229cbd977e83c872156eee5f42
Assignee | ||
Comment 4•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9fc1cc361774ef4a3f5324199bb3e257330eb207
Assignee | ||
Comment 5•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=cd6741320df4bb8a410b699433b1f8babd9f7aa8
Assignee | ||
Comment 6•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=f14aa375aa162d04c01266e8684d35e02bcb0442
Assignee | ||
Comment 7•5 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=1be471e3f4b44be53d4f8b226ce9f5a14c0afc0e
Assignee | ||
Comment 8•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=68eb56db8e1b7fc117fc88168d8c021a010d082f
Assignee | ||
Comment 9•5 years ago
|
||
Ran 16 tests and 28 subtests OK : 14 PASS : 30
Comment 10•5 years ago
|
||
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4b987ce2b96d [wpt PR 18599] - [css-grid] Ignore previously computed auto margins when relayout, a=testonly
Comment 11•5 years ago
|
||
bugherder |
Description
•