<!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>