at-container-anchored-parsing-any.html (939B)
1 <!DOCTYPE html> 2 <title>CSS Conditional Test: @container anchored query parsing - 'any' position-area</title> 3 <link rel="help" href="https://drafts.csswg.org/css-anchor-position-2/#anchored-container-queries"> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script src="/css/css-conditional/container-queries/support/cq-testcommon.js"></script> 7 <div style="container-name:name;container-type:anchored"> 8 <main id="cq-main"></main> 9 </div> 10 <script> 11 test_cq_condition_known('anchored(fallback: any)'); 12 test_cq_condition_known('anchored(fallback: any any)'); 13 test_cq_condition_known('anchored(fallback: any top)'); 14 test_cq_condition_known('anchored(fallback: center any)'); 15 test_cq_condition_known('anchored(fallback: any self-start)'); 16 test_cq_condition_known('anchored(fallback: inline-end any)'); 17 18 test_cq_condition_unknown('anchored(fallback: any none)'); 19 </script>