diff options
Diffstat (limited to 'testing/web-platform/tests/css/cssom/declaration-block-all-crash.html')
-rw-r--r-- | testing/web-platform/tests/css/cssom/declaration-block-all-crash.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/cssom/declaration-block-all-crash.html b/testing/web-platform/tests/css/cssom/declaration-block-all-crash.html new file mode 100644 index 0000000000..2d781e5dcf --- /dev/null +++ b/testing/web-platform/tests/css/cssom/declaration-block-all-crash.html @@ -0,0 +1,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> |