| 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");
|
|
|
|
|