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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/selectors/pseudo-classes/readwrite-readonly.html

Issue 2020943002: update-w3c-deps: Do not modify testharness tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title>Selector: pseudo-classes (:read-write, :read-only)</title> 3 <title>Selector: pseudo-classes (:read-write, :read-only)</title>
4 <link rel=help href="https://html.spec.whatwg.org/multipage/#pseudo-classes" id= link2> 4 <link rel=help href="https://html.spec.whatwg.org/multipage/#pseudo-classes" id= link2>
5 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharnessreport.js"></script> 6 <script src="/resources/testharnessreport.js"></script>
7 <script src="utils.js"></script> 7 <script src="utils.js"></script>
8 <div id="log"></div> 8 <div id="log"></div>
9 9
10 <div id=set0> 10 <div id=set0>
11 <!-- The readonly attribute does not apply to the following input types --> 11 <!-- The readonly attribute does not apply to the following input types -->
12 <input id=checkbox1 type=checkbox> 12 <input id=checkbox1 type=checkbox>
13 <input id=hidden1 type=hidden value=abc> 13 <input id=hidden1 type=hidden value=abc>
14 <input id=range1 type=range> 14 <input id=range1 type=range>
15 <input id=color1 type=color> 15 <input id=color1 type=color>
16 <input id=radio1 type=radio> 16 <input id=radio1 type=radio>
17 <input id=file1 type=file> 17 <input id=file1 type=file>
18 <input id=submit1 type=submit> 18 <input id=submit1 type=submit>
19 <input id=image1 type=image> 19 <input id=image1 type=image>
20 <input id=button1 type=button value="Button"> 20 <input id=button1 type=button value="Button">
21 <input id=reset1 type=reset> 21 <input id=reset1 type=reset>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 testSelectorIdsMatch("#set4 :read-only", ["p1"], "The :read-only pseudo-class must not match elements that are editable"); 81 testSelectorIdsMatch("#set4 :read-only", ["p1"], "The :read-only pseudo-class must not match elements that are editable");
82 82
83 document.designMode = "on"; 83 document.designMode = "on";
84 84
85 testSelectorIdsMatch("#set4 :read-write", ["p1", "p2"], "The :read-write pseud o-class must match elements that are editing hosts"); 85 testSelectorIdsMatch("#set4 :read-write", ["p1", "p2"], "The :read-write pseud o-class must match elements that are editing hosts");
86 86
87 testSelectorIdsMatch("#set4 :read-only", [], "The :read-only pseudo-class must not match elements that are editing hosts"); 87 testSelectorIdsMatch("#set4 :read-only", [], "The :read-only pseudo-class must not match elements that are editing hosts");
88 88
89 </script> 89 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698