[CSS container Queries] Include container queries in RuleSets
[webkit.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-contain / contain-inline-size-flex.html
blob7517ffaca2d1018e6942867f4a502517a8066bf8
1 <!DOCTYPE html>
2 <title>contain:inline-size on flexbox</title>
3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
4 <link rel="help" href="https://drafts.csswg.org/css-contain/#contain-property">
5 <link rel="help" href="https://drafts.csswg.org/css-contain-3/#containment-inline-size">
6 <link rel="match" href="../reference/ref-filled-green-100px-square.xht">
7 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
8 <div style="display:flex; contain:inline-size; width:fit-content; border:solid green; border-width:0 50px; background:red;">
9 <div style="width:100px; height:100px;"></div>
10 </div>