Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: LayoutTests/imported/web-platform-tests/html/semantics/forms/the-option-element/option-text-backslash.html

Issue 1144143009: W3C Test: Import web-platform-tests/html/semantics (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <meta charset=EUC-JP>
3 <title>Test for the backslash sign in option.text</title>
4 <script src=../../../../../../resources/testharness.js></script>
5 <script src=../../../../../../resources/testharnessreport.js></script>
6 <div id=log></div>
7 <select id=test><option>\</option></select>
8 <script>
9 test(function() {
10 var select = document.getElementById("test");
11 var option = select.firstChild;
12 assert_equals(option.text, "\\");
13 assert_equals(option.textContent, "\\");
14 });
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698