summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/container-queries/crashtests/inline-with-columns-001-crash.html
blob: 3b9bdf32bd2920256147d0b78bea9481e6921c51 (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 {
      columns: 2;
    }
  }
</style>
<div id="container" style="container-type:inline-size; width:400px;">
  <span id="target"></span>
</div>
<script>
  document.body.offsetTop;
  container.style.width = "600px";
</script>