Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

  • This WPT test may be referenced by the following Test IDs:
<!DOCTYPE html>
<link rel="match" href="grid-template-propagation-ref.html">
<style>
fieldset {
display: grid;
grid-template: auto / 1fr;
grid-template-areas: "a";
width: 100px;
height: 100px;
margin: 0;
border: none;
padding: 0;
}
</style>
<p>There should be a green box below.</p>
<fieldset>
<div style="background: green; grid-area: a"></div>
</fieldset>