Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-grid/layout-algorithm/grid-intrinsic-size-nested-baseline-grid-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="match" href="grid-intrinsic-size-nested-baseline-grid-001-ref.html">
<meta name="assert" content="Text in a baseline-aligned grid nested in a flex item of an outer grid wraps to the flex item's max-width, as it does without the outer grid.">
<html>
<body>
<div style="display: grid;">
<div style="background: purple; max-width: 200px; padding: 20px; display: flex;">
<div style="background: yellowgreen; display: grid; align-items: baseline;">
<span>Very long example text for testing line break which will not happen due to the bug</span>
</div>
</div>
</div>
</body>
</html>