https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 216c102d7d1ab1042057e2a304a7aefaaa417d5a authored by Robin Berjon on 09 April 2014, 18:20:13 UTC
duplicate entry for button
Tip revision: 216c102
option-text-backslash.html
<!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>
back to top