<!DOCTYPE html>
<title>CSS Container Query Test: named style container query change with inherited custom property</title>
<link rel="help" href="https://drafts.csswg.org/css-contain-3/#container-rule">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support/cq-testcommon.js"></script>
<style>
  #container {
    container-name: container;
  }
  .match {
    --match: true;
  }
  #inner {
    color: red;
  }
  @container container style(--