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

Unified 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: Updated as per review comments Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html b/third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html
new file mode 100644
index 0000000000000000000000000000000000000000..3d00ec5278c443722becb18ffd4d748cbbcda255
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/css/pseudo-enabled-disabled-output-element.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script src="../../resources/testharness.js"></script>
+<script src="../../resources/testharnessreport.js"></script>
+</head>
+<body>
+<output id="output1"></output>
+<output id="output2" disabled></output>
+<script>
+test(function() {
+ o1 = document.getElementById("output1");
+ o2 = document.getElementById("output2");
+ assert_false(o1.matches(":enabled"));
+ assert_false(o2.matches(":disabled"));
+}, "This test performs a check for output element not to be considered for :enabled and :disabled CSS selectors.");
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698