| <script src="../../resources/js-test-pre.js"></script> |
| description("Tests that parameters to CSSStyleDeclaration API are mandatory."); |
| var style = document.body.style; |
| shouldThrow("style.item()", "'TypeError: Not enough arguments'"); |
| shouldThrow("style.removeProperty()", "'TypeError: Not enough arguments'"); |
| shouldThrow("style.getPropertyPriority()", "'TypeError: Not enough arguments'"); |
| shouldThrow("style.getPropertyCSSValue()", "'TypeError: Not enough arguments'"); |
| <script src="../../resources/js-test-post.js"></script> |