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/grid-lanes/tentative/parsing/grid-lanes-shorthand-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Grid Lanes Test: grid-lanes shorthand with repeat() and var() should not crash</title>
<link rel="author" title="Yanling Wang" href="mailto:yanlingwang@microsoft.com">
</head>
<body>
<p>Test passes if it does not crash.</p>
<div style="--size: 60px; width: 300px;">
<div style="display: grid-lanes; grid-lanes: repeat(auto-fill, var(--size));">
<div style="width: 50px; height: 30px; background: coral;"></div>
</div>
</div>
</body>
</html>