testing/web-platform/tests/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/grid-template-propagation.html
author Gabriel Luong <gabriel.luong@gmail.com>
Sun, 13 Jul 2025 02:28:40 +0000 (17 hours ago)
changeset 796385 23185ed855a5b168943bde8ebe8ec946cd83f675
parent 584563 d4723856d1e7d8e6c6e653477a8d944b65d515ae
permissions -rw-r--r--
Bug 1972159 - Part 25: Enable Compose Homepage by default and remove associated settings and Nimbus flags r=android-reviewers,devota Differential Revision: https://phabricator.services.mozilla.com/D254598
<!DOCTYPE html>
<link rel="match" href="grid-template-propagation-ref.html">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1222988">
<link rel="help" href="https://html.spec.whatwg.org/C/#anonymous-fieldset-content-box">
<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>