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

Unified Diff: LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html

Issue 1358453003: update-w3c-deps import using blink e98e996cf6dfab3af465bea33279df933a764e9c: (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: W3CImportExpectations Created 5 years, 3 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
Index: LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html
diff --git a/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html b/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html
index fedd57cf7dc18cdc8599c094cb31a3f448ac1f57..1a06e28464b635d3a315b2a6acdbe4b54c7a3c35 100644
--- a/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html
+++ b/LayoutTests/imported/web-platform-tests/html/semantics/selectors/pseudo-classes/disabled.html
@@ -48,6 +48,9 @@
document.getElementById("button1").setAttribute("disabled", "disabled");
testSelector(":disabled", ["button1", "input2", "select2", "optgroup2", "option2", "textarea2", "fieldset2", "clubname", "clubnum"], "':disabled' should also match elements whose disabled attribute has been set");
+ document.getElementById("button1").setAttribute("disabled", "disabled");
+ testSelector(":disabled", ["button1", "input2", "select2", "optgroup2", "option2", "textarea2", "fieldset2", "clubname", "clubnum"], "':disabled' should also match elements whose disabled attribute has been set twice");
+
document.getElementById("input2").setAttribute("type", "submit"); // change input type to submit
testSelector(":disabled", ["button1", "input2", "select2", "optgroup2", "option2", "textarea2", "fieldset2", "clubname", "clubnum"], "':disabled' should also match disabled elements whose type has changed");

Powered by Google App Engine
This is Rietveld 408576698