blob: 34bd0d368bf2977bb4dd2a8b90897d30978d9626 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!doctype html>
<meta charset=EUC-JP>
<title>Test for the backslash sign in option.text</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<select id=test><option>\</option></select>
<script>
test(function() {
var select = document.getElementById("test");
var option = select.firstChild;
assert_equals(option.text, "\\");
assert_equals(option.textContent, "\\");
});
</script>
|