<!doctype html>
<title>CSS Container Queries Test: recompute style inside a @container</title>
<link rel="help" href="https://drafts.csswg.org/css-contain-3/#container-queries">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/cq-testcommon.js"></script>
<style>
  #container { container-type: size; }
  @container (min-width: 1px) {
    #content { color: green; }
  }
</style>
<div id="container">
  <div id="content"></div>
</div>
<