blob: 787b1951720309d67476bed80fcc7361273a7385 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../resources/js-test.js"></script>
<script>
description("Checks that CSSStyleDeclaration.getPropertyPriority() returns the empty string for invalid CSS properties.");
var declaration = document.styleSheets[0].cssRules[0].style;
shouldBeEqualToString("declaration.getPropertyPriority('invalidProperty')", "");
shouldBeEqualToString("declaration.getPropertyPriority('margin')", "");
</script>
</body>
</html>