https://github.com/web-platform-tests/wpt
Raw File
Tip revision: c6fbe7e7254917992588d44e082a540b37abd035 authored by Josh Matthews on 14 March 2018, 15:06:50 UTC
Add a lint to catch adding files that would otherwise be ignored by git.
Tip revision: c6fbe7e
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