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

Side by Side Diff: LayoutTests/fast/forms/radio/radio-default-value.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <head> 1 <head>
2 <script src="../../js/resources/js-test-pre.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 </head> 3 </head>
4 <body> 4 <body>
5 <div id="console"></div> 5 <div id="console"></div>
6 <script> 6 <script>
7 var el = document.createElement("input"); 7 var el = document.createElement("input");
8 el.setAttribute("type", "radio"); 8 el.setAttribute("type", "radio");
9 shouldBe('el.value', '"on"'); 9 shouldBe('el.value', '"on"');
10 shouldBe('el.setAttribute("value", "foo"); el.value', '"foo"'); 10 shouldBe('el.setAttribute("value", "foo"); el.value', '"foo"');
11 shouldBe('el.checked = true; el.value', '"foo"'); 11 shouldBe('el.checked = true; el.value', '"foo"');
12 shouldBe('el.removeAttribute("value"); el.value', '"on"'); 12 shouldBe('el.removeAttribute("value"); el.value', '"on"');
13 shouldBe('el.value = "foo"; el.getAttribute("value")', '"foo"'); 13 shouldBe('el.value = "foo"; el.getAttribute("value")', '"foo"');
14 </script> 14 </script>
15 </body> 15 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698