From 5b03c9ad634499ff00a0248602d9f097c3be5e00 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 22 Dec 2014 13:33:58 -0800 Subject: [disabled] => :disabled :disabled is supported in IE9+ and all modern browsers --- scss/_forms.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scss/_forms.scss') diff --git a/scss/_forms.scss b/scss/_forms.scss index 1f68383f9..8d6d00af0 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -140,7 +140,7 @@ output { // HTML5 says that controls under a fieldset > legend:first-child won't be // disabled if the fieldset is disabled. Due to implementation difficulty, we // don't honor that edge case; we style them as disabled anyway. - &[disabled], + &:disabled, &[readonly], fieldset[disabled] & { cursor: $cursor-disabled; @@ -263,7 +263,7 @@ input[type="search"] { // Note: Neither radios nor checkboxes can be readonly. input[type="radio"], input[type="checkbox"] { - &[disabled], + &:disabled, &.disabled, fieldset[disabled] & { cursor: $cursor-disabled; -- cgit v1.2.3