summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/container-queries/crashtests/table-in-columns-001-crash.html
blob: 4fab9de88f61016e5214a91b9c7efd898eca0803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1276898">
<style>
  @container (max-width: 500px) {
    #target {
      display: table;
    }
  }
</style>
<div id="container" style="columns:2; container-type:inline-size; width:400px;">
  <div id="target"></div>
</div>
<script>
  document.body.offsetTop;
  container.style.width = "600px";
</script>