https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 53acfdab3796563ea320347c6da26df3f1d9a7d3 authored by Mike West on 19 June 2017, 09:19:34 UTC
fixup merge with ToT + cleanup navigation tests.
Tip revision: 53acfda
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