OLD | NEW |
---|---|
(Empty) | |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <script src="../../resources/js-test.js"></script> | |
5 </head> | |
6 <body> | |
7 <script> | |
8 var style = document.body.style; | |
9 shouldBeType("style", "CSSStyleDeclaration"); | |
10 shouldThrow("style.item()"); | |
11 shouldThrow("style.getPropertyValue()"); | |
12 shouldThrow("style.getPropertyPriority()"); | |
13 shouldThrow("style.setProperty()"); | |
14 shouldThrow("style.setProperty('color')"); | |
15 shouldThrow("style.removeProperty()"); | |
16 </script> | |
17 </body> | |
18 </html> | |
OLD | NEW |