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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html

Issue 1914933003: output should not match to :enabled or :disabled pseudo classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 <script src="../../resources/js-test.js"></script>
tkent 2016/04/25 09:40:39 I recommend to use testharness.js for conformance
ramya.v 2016/04/25 14:47:29 Done.
3 <style>
tkent 2016/04/25 09:40:40 This STYLE element is unnecessary.
ramya.v 2016/04/25 14:47:29 Done.
4 :enabled { color: red;}
5 :disabled { color: red;}
6 </style>
7 <output id="output1">test</output>
8 <output id="output2" disabled>test</output>
9 <script>
10 description("This test performs a check for output elements not to match :enable d or :disabled CSS selector.");
11 var e = document.querySelectorAll(":enabled");
12 var d = document.querySelectorAll(":disabled");
13 shouldBe("e.length", "0");
14 shouldBe("d.length", "0");
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698