Closed Bug 1657688 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24906 - [css-flex] Update test to wait for image load before checking sizes

Categories

(Core :: Layout: Flexbox, task, P4)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Grogan <dgrogan@chromium.org> wrote:

[css-flex] Update test to wait for image load before checking sizes

This test flaked on me locally with:
height expected 100 but got 0

Which is consistent with calling checkLayout before the image has
loaded, but not a guarantee that's what's happening. I haven't been able
to reproduce it.

In any case, this change can't hurt.

Change-Id: I1bf8ccb935845c6e5e4529694c2d77e3f4a529a3

Reviewed-on: https://chromium-review.googlesource.com/2340735
WPT-Export-Revision: e77b92d4ac59fd26ab91fb412fff6a3ac23e8647

Component: web-platform-tests → Layout: Flexbox
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3e1d54561c83 [wpt PR 24906] - [css-flex] Update test to wait for image load before checking sizes, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8abece86e093 [wpt PR 24906] - [css-flex] Update test to wait for image load before checking sizes, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.