1
0
Fork 0
firefox/testing/web-platform/tests/css/css-grid/grid-relayout-with-nested-grid-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

27 lines
616 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="author" title="Brandon Stewart" href="mailto:brandonstewart@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-grid-1">
<meta name="assert" content="Ensure text does not overflow upon re-layout of grid">
</head>
<style>
.grid {
display: grid;
grid-template-columns: minmax(min-content, 100px) auto;
}
.nested_grid {
border: 5px solid;
display: grid;
justify-items: baseline;
overflow-wrap: break-word;
}
</style>
<body>
<div class=grid>
<div class=nested_grid><p>This content will overflow.</p></div>
</div>
</body>
</html>