summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/remove-inline-with-block-beside-spanners-crash.html
blob: d48ff19b99afd6e96e070749798ccc8b37fdeefe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!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=1102137">
<div style="columns:3;">
  <span id="inlineWithBlock"><div></div></span><div id="spanner1" style="column-span:all;"></div>
  <div id="spanner2" style="display:none; column-span:all;"></div>
  <div id="block1" style="display:none;"></div>
  <div id="spanner3" style="display:none; column-span:all;"></div>
  <div id="block2" style="display:none;"></div>
</div>
<script>
  document.body.offsetTop;
  inlineWithBlock.style.display = "none";
  document.body.offsetTop;
  spanner1.style.display = "none";
  document.body.offsetTop;
  spanner2.style.display = "block";
  document.body.offsetTop;
  block1.style.display = "block";
  block2.style.display = "block";
  document.body.offsetTop;
  spanner3.style.display = "block";
</script>