<style>
& { shape-outside: polygon(calc(var(--var9, --var7)) 1.2px, calc(var(--var3, --var0)) 0px, 0.6px 0px, 3px 2.5px, 0px 3.3px, 0lh 3.9px, 1.1px 3.9px, 1.2px 0px, 1.8px 2.4px, 2.1px 0px) border-box; }
@property --var9 { syntax: "<custom-ident> | <length-percentage>+"; inherits: true; initial-value: 3.5px 0.1px calc(rem((0svh) + (0px), (2.4px)) + 1%); }
</style>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
</script>
<html>
    <body>
        <p>PASS if no crash</p>
    </body>
</html>
