<!DOCTYPE html>
<title>CSS Container Queries Test: style and size query against container without a principal box</title>
<link rel="help" href="https://drafts.csswg.org/css-conditional-5/#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: inline-size;
    display: contents;
    --foo: bar;
  }
  @container (width >= 0px) or style(--foo: bar) 