fune/testing/web-platform/tests/css/css-flexbox/nested-flex-image-loading-invalidates-intrinsic-sizes.html
Sammy Gill a5e5749600 Bug 1869879 [wpt PR 43652] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=264303, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=264303 (#43652)

WebKit export from bug: [css-flex] Flex layout incorrectly dirties preferred width bits towards the end of layout
--

wpt-commits: f86874c305e0605aa97d33a20b35ce32d12ea49e
wpt-pr: 43652
2023-12-15 08:07:36 +00:00

32 lines
819 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/">
<meta name="assert" content="Loaded image correctly invalidates intrinsic widths of its ancestor chain so that it can be recomputed in flex layout">
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
<style>
.flexbox {
display: flex;
}
.green-border {
border: 20px solid green;
}
.img {
max-width: 100%;
max-height: 100%;
}
</style>
</head>
<body>
<p>Test passes if there is a filled green square.</p>
<div class="flexbox">
<div>
<div class="flexbox green-border">
<img src="/css/support/60x60-green.png" class="img">
</div>
</div>
</div>
</body>
</html>