https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 4fae1e45c3892f37065a107124e31d60b10b3c7b authored by David Storey on 23 March 2018, 00:50:21 UTC
Add focus composed test
Tip revision: 4fae1e4
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