blob: 7ff0b8432595e71db43dc3ba1f6ae31ca6b3532c [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/js-test.js"></script>
<div id="target">PASS</div>
<script>
description("crbug.com/590412: this test checks that style is correctly serialized without any crashes when applying property-all after setting identity-box-chrome-color.");
var target=document.getElementById("target")
target.style.setProperty('--identity-box-chrome-color','important');
target.style['all']='initial';
// cloneNode serializes target's style internally.
target.cloneNode();
</script>