blob: f33eb092f0831ee402f598cfa9b8153b8608e520 [file] [log] [blame]
<html>
<head>
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body style="color:black">
<script>
description("Test that custom properties on CSSValues of inline style declarations survive GC");
var expr = 'document.body.style.getPropertyCSSValue("color")';
shouldBe(expr + ".cssText", '"black"');
eval(expr).foo = "bar"
gc();
shouldBe(expr + ".foo", "'bar'");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>