summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/dom/content-element-select-null.html
blob: 47034c6a80bced74115d615f2d0a032d0a5dbb58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML>
<title>content element test for select attribute, null and undefined arguments</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>

test(function() {
    var element = document.createElement('content');
    assert_equals(element.select, '');
    element.select =  null
    assert_equals(element.select, 'null');
    element.select =  undefined
    assert_equals(element.select, 'undefined');
});
</script>