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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/checkbox/checkbox-checked-state-affected-by-default-state.html

Issue 1956453004: Explicitly set checkbox state should not be influenced by defaultState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added testcase Created 4 years, 7 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <head>
3 <script src="../../../resources/js-test.js"></script>
tkent 2016/05/06 08:51:37 Please use testharness.js instead of js-test.js fo
ramya.v 2016/05/06 09:26:55 Done.
4 </head>
5 <body>
6 <script>
7 var el = document.createElement("input");
8 el.setAttribute("type", "checkbox");
9 el.defaultChecked = true;
10 el.checked = true;
11 el.defaultChecked = false;
12 shouldBe('el.checked', 'true');
13 </script>
14 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/forms/checkbox/checkbox-checked-state-affected-by-default-state-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698