<!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.__proto__, 'color');
        shouldBeType("descriptor['get']", "Function");
        shouldBeType("descriptor['set']", "Function");
        shouldBeTrue("descriptor['enumerable']");
        shouldBeTrue("descriptor['configurable']");
    </script>
    <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
