fune/testing/web-platform/tests/css/css-box/margin-trim/flex-row-style-change-triggers-layout-inline-end-ref.html
Sammy Gill 78f00f5acd Bug 1825688 [wpt PR 39299] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=254300, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=254300 (#39299)

WebKit export from bug: https://bugs.webkit.org/show_bug.cgi?id=254300
--

wpt-commits: 73f4b1fc4f04be2e287a58057f454796ea3cc1fa
wpt-pr: 39299
2023-04-14 11:15:00 +00:00

33 lines
662 B
HTML

<!DOCTYPE html>
<html>
<head>
<link rel="author" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-flex">
<meta name="assert" content="Flex items react to change in their flexbox's margin-trim value">
<style>
flexbox {
display: flex;
width: min-content;
flex-wrap: wrap;
border: 1px solid black;
}
item {
display: block;
background-color: green;
width: 50px;
height: 50px;
}
.margin {
margin-inline-end: 10px;
}
</style>
</head>
<body>
<flexbox>
<item class="margin"></item>
</flexbox>
<flexbox>
<item></item>
</flexbox>
</body>
</html>