[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/c/chromium/src/+/2340735Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: David Grogan <dgrogan@chromium.org> Cr-Commit-Position: refs/heads/master@{#795652}
Showing
Please register or sign in to comment