summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/computed-style-non-element-parameter.html
blob: 587df1a33f39a9a6d2b6dacfa865cb4526e0ec70 (plain)
1
2
3
4
5
6
<script src="../../../resources/js-test.js"></script>
<script>
shouldThrow("getComputedStyle(null)");
shouldThrow("getComputedStyle(undefined)");
shouldThrow("getComputedStyle(document.createTextNode(\"foo\"))");
</script>