Files
sousa-gecko/testing/web-platform/tests/css/css-flexbox/flex-order-wrap-reverse-baseline-ref.html
T
Sammy Gill ebd104cbe3 Bug 2032763 [wpt PR 59286] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=311536, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=311536 (#59286)
--

wpt-commits: 63a10b62f64a13bdd35847f0ecc4acf12837566f
wpt-pr: 59286
2026-04-23 10:16:05 +00:00

35 lines
792 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Test Reference: flex first baseline with wrap-reverse and order property</title>
<style>
.outer {
display: flex;
align-items: baseline;
height: 150px;
border: 1px solid black;
}
.flex {
display: flex;
flex-wrap: wrap-reverse;
width: 60px;
}
.flex > div {
width: 60px;
}
.a { font-size: 10px; background: lightblue; }
.b { font-size: 30px; background: lightgreen; }
</style>
</head>
<body>
<p>Test passes if "Ref" is aligned to the baseline of "B" (the large green text).</p>
<div class="outer">
<div class="flex">
<div class="a">A</div>
<div class="b">B</div>
</div>
<div>Ref</div>
</div>
</body>
</html>