summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/container-queries/chrome-legacy-skip-recalc.html
blob: b86a4091a2ca4909515746b2904508908e278816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<title>CSS Container Queries Test: Chrome legacy layout skipping style recalc</title>
<link rel="help" href="https://drafts.csswg.org/css-contain-3/#size-container">
<link rel="help" href="https://crbug.com/1288879">
<link rel="match" href="/css/reference/pass_if_pass_below.html">
<style>
  #container {
    container-type: inline-size;
  }
  #multicol {
    column-count: 1;
  }

  @supports not (container-type: inline-size) {
    #container { display: none }
  }
</style>
<p>Test passes if there is the word "PASS" below.</p>
<div id="container"><span>PASS</span></div>
<span id="multicol"><table></table></span>