Closed Bug 1575407 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 18573 - [css-flexbox] Only clear the override width if we're doing layout

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 18573 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/18573
Details from upstream follow.

Christian Biesinger <cbiesinger@chromium.org> wrote:

[css-flexbox] Only clear the override width if we're doing layout

And make ChildUnstretchedLogicalWidth handle the case where
an override width is set (by clearing and re-setting).

The problem with clearing the override width, but not doing layout,
is that we may later do a simplified layout which will then
lay out as shrink-to-fit, which is undesired.

Bug: 992010
Change-Id: I18d3ae66f62cbdc9cdcf76810dc0eff6be915af6
Reviewed-on: https://chromium-review.googlesource.com/1758940
WPT-Export-Revision: e1a103d61d43a9c7e7ce0fe6a9f77c628d3df018

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Ran 1 tests
PASS   : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ffeb51048e9b
[wpt PR 18573] - [css-flexbox] Only clear the override size if we're doing layout, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.