summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accessibility/crashtests/multicol-with-text-change-role-relayout-crash.html
blob: d1ecd16dcb07af8f253045748b94290d2c485cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html class="test-wait">
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1278439">
<div id="container">
  <div id="mc" style="columns:2; column-fill:auto; width:200px; height:30px; line-height:20px; orphans:1; widows:1;">
    x<br>
    x<br>
  </div>
</div>
<script>
  requestAnimationFrame(()=> {
    requestAnimationFrame(()=> {
      requestAnimationFrame(()=> {
        mc.style.width = "201px";
        container.setAttribute("role", "treegrid");
        document.body.offsetTop;
        document.documentElement.className = "";
      });
    });
  });
</script>