[CSS container Queries] Include container queries in RuleSets
[webkit.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-contain / contain-strict-002.html
blob5985fc850f80983fe3e0beb312c737c413f9cccb
1 <!DOCTYPE html>
3 <meta charset="UTF-8">
5 <title>CSS Containment Test: 'contain: strict' and block box</title>
7 <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
8 <link rel="help" href="https://www.w3.org/TR/css-contain-1/#contain-property">
9 <link rel="match" href="reference/contain-paint-size-001-ref.html">
12 <style>
13 div
15 background-color: red;
16 border: green solid 1em;
17 color: red;
18 contain: strict;
19 font-size: 20px;
20 width: 166px;
22 </style>
24 <p>Test passes if there is a short horizontal green stripe and <strong>no red</strong>.
26 <div>FAIL FAIL FAIL FAIL FAIL FAIL</div>