summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/cssom/declaration-block-all-crash.html
blob: 2d781e5dcff9d9ffdd716af0d08f81171e0ba3ea (plain)
1
2
3
4
5
6
7
8
9
10
<!doctype html>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1711189">
<div></div>
<script>
  let div = document.querySelector("div");
  let cs = getComputedStyle(div);
  for (let i = 0; i < cs.length; ++i)
    div.style.setProperty(cs[i], cs.getPropertyValue(cs[i]));
  div.style.cssText
</script>