allow :enabled and :disabled on <link> tags
|Reported by:||ghartwig||Owned by:|
:enabled really checks !disabled and !hidden. This is fine for <input> tags but not appropriate for <link> tags, which have a disabled property but not a hidden property. The code should check the hidden property only if it exists.
Workaround is to use ":not(:disabled)" instead when trying to select style sheet <link> tags that were not disabled.
Change History (7)
comment:6 Changed 7 years ago by
|Status:||new → open|
|Summary:||:enabled rejects all <link> tags regardless of whether they are disabled or not → allow :enabled and :disabled on <link> tags|
|Type:||bug → enhancement|