blob: 9db7e52df4b37e2b8e9006f762fe3d06ca48f52b [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../../resources/js-test-pre.js"></script>
<script>
description("This tests the descriptor of CSSStyleDeclaration properties.");
var descriptor = Object.getOwnPropertyDescriptor(document.body.style, 'color');
shouldBeTrue("descriptor['writable']");
shouldBeTrue("descriptor['enumerable']");
shouldBeTrue("descriptor['configurable']");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>