gecko/layout/reftests/css-ui-invalid/select/style.css

19 lines
296 B
CSS
Raw Normal View History

Bug 605124 (2/5) - Make :-moz-ui-invalid follow rules for :invalid. r=bz a=bsmedberg --HG-- rename : layout/reftests/css-invalid/button/button-button.html => layout/reftests/css-ui-invalid/button/button-button.html rename : layout/reftests/css-invalid/button/button-disabled-fieldset-1.html => layout/reftests/css-ui-invalid/button/button-disabled-fieldset-1.html rename : layout/reftests/css-invalid/button/button-disabled-fieldset-2.html => layout/reftests/css-ui-invalid/button/button-disabled-fieldset-2.html rename : layout/reftests/css-invalid/button/button-disabled.html => layout/reftests/css-ui-invalid/button/button-disabled.html rename : layout/reftests/css-invalid/button/button-dyn-disabled.html => layout/reftests/css-ui-invalid/button/button-dyn-disabled.html rename : layout/reftests/css-invalid/button/button-dyn-not-disabled.html => layout/reftests/css-ui-invalid/button/button-dyn-not-disabled.html rename : layout/reftests/css-invalid/button/button-fieldset-legend-ref.html => layout/reftests/css-ui-invalid/button/button-fieldset-legend-ref.html rename : layout/reftests/css-invalid/button/button-fieldset-legend.html => layout/reftests/css-ui-invalid/button/button-fieldset-legend.html rename : layout/reftests/css-invalid/button/button-fieldset-ref.html => layout/reftests/css-ui-invalid/button/button-fieldset-ref.html rename : layout/reftests/css-invalid/button/button-invalid.html => layout/reftests/css-ui-invalid/button/button-invalid.html rename : layout/reftests/css-invalid/button/button-ref.html => layout/reftests/css-ui-invalid/button/button-ref.html rename : layout/reftests/css-invalid/button/button-reset.html => layout/reftests/css-ui-invalid/button/button-reset.html rename : layout/reftests/css-invalid/button/button-type-barred.html => layout/reftests/css-ui-invalid/button/button-type-barred.html rename : layout/reftests/css-invalid/button/button-type-invalid.html => layout/reftests/css-ui-invalid/button/button-type-invalid.html rename : layout/reftests/css-invalid/button/button-valid.html => layout/reftests/css-ui-invalid/button/button-valid.html rename : layout/reftests/css-invalid/button/reftest.list => layout/reftests/css-ui-invalid/button/reftest.list rename : layout/reftests/css-invalid/button/style.css => layout/reftests/css-ui-invalid/button/style.css rename : layout/reftests/css-invalid/default-style/button-ref.html => layout/reftests/css-ui-invalid/default-style/button-ref.html rename : layout/reftests/css-invalid/default-style/button.html => layout/reftests/css-ui-invalid/default-style/button.html rename : layout/reftests/css-invalid/default-style/fieldset-ref.html => layout/reftests/css-ui-invalid/default-style/fieldset-ref.html rename : layout/reftests/css-invalid/default-style/fieldset.html => layout/reftests/css-ui-invalid/default-style/fieldset.html rename : layout/reftests/css-invalid/default-style/input-ref.html => layout/reftests/css-ui-invalid/default-style/input-ref.html rename : layout/reftests/css-invalid/default-style/input.html => layout/reftests/css-ui-invalid/default-style/input.html rename : layout/reftests/css-invalid/default-style/reftest.list => layout/reftests/css-ui-invalid/default-style/reftest.list rename : layout/reftests/css-invalid/default-style/select-ref.html => layout/reftests/css-ui-invalid/default-style/select-ref.html rename : layout/reftests/css-invalid/default-style/select.html => layout/reftests/css-ui-invalid/default-style/select.html rename : layout/reftests/css-invalid/default-style/style.css => layout/reftests/css-ui-invalid/default-style/style.css rename : layout/reftests/css-invalid/default-style/textarea-ref.html => layout/reftests/css-ui-invalid/default-style/textarea-ref.html rename : layout/reftests/css-invalid/default-style/textarea.html => layout/reftests/css-ui-invalid/default-style/textarea.html rename : layout/reftests/css-invalid/input/input-button-ref.html => layout/reftests/css-ui-invalid/input/input-button-ref.html rename : layout/reftests/css-invalid/input/input-button.html => layout/reftests/css-ui-invalid/input/input-button.html rename : layout/reftests/css-invalid/input/input-customerror.html => layout/reftests/css-ui-invalid/input/input-customerror.html rename : layout/reftests/css-invalid/input/input-disabled-fieldset-1.html => layout/reftests/css-ui-invalid/input/input-disabled-fieldset-1.html rename : layout/reftests/css-invalid/input/input-disabled-fieldset-2.html => layout/reftests/css-ui-invalid/input/input-disabled-fieldset-2.html rename : layout/reftests/css-invalid/input/input-disabled.html => layout/reftests/css-ui-invalid/input/input-disabled.html rename : layout/reftests/css-invalid/input/input-dyn-disabled.html => layout/reftests/css-ui-invalid/input/input-dyn-disabled.html rename : layout/reftests/css-invalid/input/input-dyn-not-disabled.html => layout/reftests/css-ui-invalid/input/input-dyn-not-disabled.html rename : layout/reftests/css-invalid/input/input-dyn-not-readonly.html => layout/reftests/css-ui-invalid/input/input-dyn-not-readonly.html rename : layout/reftests/css-invalid/input/input-dyn-readonly.html => layout/reftests/css-ui-invalid/input/input-dyn-readonly.html rename : layout/reftests/css-invalid/input/input-email-invalid.html => layout/reftests/css-ui-invalid/input/input-email-invalid.html rename : layout/reftests/css-invalid/input/input-email-ref.html => layout/reftests/css-ui-invalid/input/input-email-ref.html rename : layout/reftests/css-invalid/input/input-email-valid.html => layout/reftests/css-ui-invalid/input/input-email-valid.html rename : layout/reftests/css-invalid/input/input-fieldset-legend-ref.html => layout/reftests/css-ui-invalid/input/input-fieldset-legend-ref.html rename : layout/reftests/css-invalid/input/input-fieldset-legend.html => layout/reftests/css-ui-invalid/input/input-fieldset-legend.html rename : layout/reftests/css-invalid/input/input-fieldset-ref.html => layout/reftests/css-ui-invalid/input/input-fieldset-ref.html rename : layout/reftests/css-invalid/input/input-maxlength-invalid.html => layout/reftests/css-ui-invalid/input/input-maxlength-invalid.html rename : layout/reftests/css-invalid/input/input-maxlength-valid.html => layout/reftests/css-ui-invalid/input/input-maxlength-valid.html rename : layout/reftests/css-invalid/input/input-pattern-invalid.html => layout/reftests/css-ui-invalid/input/input-pattern-invalid.html rename : layout/reftests/css-invalid/input/input-pattern-valid.html => layout/reftests/css-ui-invalid/input/input-pattern-valid.html rename : layout/reftests/css-invalid/input/input-readonly.html => layout/reftests/css-ui-invalid/input/input-readonly.html rename : layout/reftests/css-invalid/input/input-ref.html => layout/reftests/css-ui-invalid/input/input-ref.html rename : layout/reftests/css-invalid/input/input-required-invalid.html => layout/reftests/css-ui-invalid/input/input-required-invalid.html rename : layout/reftests/css-invalid/input/input-required-valid.html => layout/reftests/css-ui-invalid/input/input-required-valid.html rename : layout/reftests/css-invalid/input/input-reset.html => layout/reftests/css-ui-invalid/input/input-reset.html rename : layout/reftests/css-invalid/input/input-type-barred.html => layout/reftests/css-ui-invalid/input/input-type-barred.html rename : layout/reftests/css-invalid/input/input-type-invalid.html => layout/reftests/css-ui-invalid/input/input-type-invalid.html rename : layout/reftests/css-invalid/input/input-url-invalid.html => layout/reftests/css-ui-invalid/input/input-url-invalid.html rename : layout/reftests/css-invalid/input/input-url-ref.html => layout/reftests/css-ui-invalid/input/input-url-ref.html rename : layout/reftests/css-invalid/input/input-url-valid.html => layout/reftests/css-ui-invalid/input/input-url-valid.html rename : layout/reftests/css-invalid/input/input-valid.html => layout/reftests/css-ui-invalid/input/input-valid.html rename : layout/reftests/css-invalid/input/input-withtext-ref.html => layout/reftests/css-ui-invalid/input/input-withtext-ref.html rename : layout/reftests/css-invalid/input/reftest.list => layout/reftests/css-ui-invalid/input/reftest.list rename : layout/reftests/css-invalid/input/style.css => layout/reftests/css-ui-invalid/input/style.css rename : layout/reftests/css-invalid/reftest.list => layout/reftests/css-ui-invalid/reftest.list rename : layout/reftests/css-invalid/select/reftest.list => layout/reftests/css-ui-invalid/select/reftest.list rename : layout/reftests/css-invalid/select/select-disabled-fieldset-1.html => layout/reftests/css-ui-invalid/select/select-disabled-fieldset-1.html rename : layout/reftests/css-invalid/select/select-disabled-fieldset-2.html => layout/reftests/css-ui-invalid/select/select-disabled-fieldset-2.html rename : layout/reftests/css-invalid/select/select-disabled-ref.html => layout/reftests/css-ui-invalid/select/select-disabled-ref.html rename : layout/reftests/css-invalid/select/select-disabled.html => layout/reftests/css-ui-invalid/select/select-disabled.html rename : layout/reftests/css-invalid/select/select-dyn-disabled.html => layout/reftests/css-ui-invalid/select/select-dyn-disabled.html rename : layout/reftests/css-invalid/select/select-dyn-not-disabled.html => layout/reftests/css-ui-invalid/select/select-dyn-not-disabled.html rename : layout/reftests/css-invalid/select/select-fieldset-legend-ref.html => layout/reftests/css-ui-invalid/select/select-fieldset-legend-ref.html rename : layout/reftests/css-invalid/select/select-fieldset-legend.html => layout/reftests/css-ui-invalid/select/select-fieldset-legend.html rename : layout/reftests/css-invalid/select/select-fieldset-ref.html => layout/reftests/css-ui-invalid/select/select-fieldset-ref.html rename : layout/reftests/css-invalid/select/select-invalid.html => layout/reftests/css-ui-invalid/select/select-invalid.html rename : layout/reftests/css-invalid/select/select-ref.html => layout/reftests/css-ui-invalid/select/select-ref.html rename : layout/reftests/css-invalid/select/select-required-invalid.html => layout/reftests/css-ui-invalid/select/select-required-invalid.html rename : layout/reftests/css-invalid/select/select-required-multiple-invalid.html => layout/reftests/css-ui-invalid/select/select-required-multiple-invalid.html rename : layout/reftests/css-invalid/select/select-required-multiple-ref.html => layout/reftests/css-ui-invalid/select/select-required-multiple-ref.html rename : layout/reftests/css-invalid/select/select-required-multiple-valid.html => layout/reftests/css-ui-invalid/select/select-required-multiple-valid.html rename : layout/reftests/css-invalid/select/select-required-ref.html => layout/reftests/css-ui-invalid/select/select-required-ref.html rename : layout/reftests/css-invalid/select/select-required-valid.html => layout/reftests/css-ui-invalid/select/select-required-valid.html rename : layout/reftests/css-invalid/select/select-valid.html => layout/reftests/css-ui-invalid/select/select-valid.html rename : layout/reftests/css-invalid/select/style.css => layout/reftests/css-ui-invalid/select/style.css rename : layout/reftests/css-invalid/textarea/reftest.list => layout/reftests/css-ui-invalid/textarea/reftest.list rename : layout/reftests/css-invalid/textarea/style.css => layout/reftests/css-ui-invalid/textarea/style.css rename : layout/reftests/css-invalid/textarea/textarea-customerror.html => layout/reftests/css-ui-invalid/textarea/textarea-customerror.html rename : layout/reftests/css-invalid/textarea/textarea-disabled-fieldset-1.html => layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-1.html rename : layout/reftests/css-invalid/textarea/textarea-disabled-fieldset-2.html => layout/reftests/css-ui-invalid/textarea/textarea-disabled-fieldset-2.html rename : layout/reftests/css-invalid/textarea/textarea-disabled.html => layout/reftests/css-ui-invalid/textarea/textarea-disabled.html rename : layout/reftests/css-invalid/textarea/textarea-dyn-disabled.html => layout/reftests/css-ui-invalid/textarea/textarea-dyn-disabled.html rename : layout/reftests/css-invalid/textarea/textarea-dyn-not-disabled.html => layout/reftests/css-ui-invalid/textarea/textarea-dyn-not-disabled.html rename : layout/reftests/css-invalid/textarea/textarea-dyn-not-readonly.html => layout/reftests/css-ui-invalid/textarea/textarea-dyn-not-readonly.html rename : layout/reftests/css-invalid/textarea/textarea-dyn-readonly.html => layout/reftests/css-ui-invalid/textarea/textarea-dyn-readonly.html rename : layout/reftests/css-invalid/textarea/textarea-fieldset-legend-ref.html => layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend-ref.html rename : layout/reftests/css-invalid/textarea/textarea-fieldset-legend.html => layout/reftests/css-ui-invalid/textarea/textarea-fieldset-legend.html rename : layout/reftests/css-invalid/textarea/textarea-fieldset-ref.html => layout/reftests/css-ui-invalid/textarea/textarea-fieldset-ref.html rename : layout/reftests/css-invalid/textarea/textarea-maxlength-invalid.html => layout/reftests/css-ui-invalid/textarea/textarea-maxlength-invalid.html rename : layout/reftests/css-invalid/textarea/textarea-maxlength-valid.html => layout/reftests/css-ui-invalid/textarea/textarea-maxlength-valid.html rename : layout/reftests/css-invalid/textarea/textarea-readonly.html => layout/reftests/css-ui-invalid/textarea/textarea-readonly.html rename : layout/reftests/css-invalid/textarea/textarea-ref.html => layout/reftests/css-ui-invalid/textarea/textarea-ref.html rename : layout/reftests/css-invalid/textarea/textarea-required-invalid.html => layout/reftests/css-ui-invalid/textarea/textarea-required-invalid.html rename : layout/reftests/css-invalid/textarea/textarea-required-valid.html => layout/reftests/css-ui-invalid/textarea/textarea-required-valid.html rename : layout/reftests/css-invalid/textarea/textarea-valid.html => layout/reftests/css-ui-invalid/textarea/textarea-valid.html rename : layout/reftests/css-invalid/textarea/textarea-withtext-ref.html => layout/reftests/css-ui-invalid/textarea/textarea-withtext-ref.html
2010-11-23 15:48:51 -08:00
/* Override default style */
select:-moz-ui-invalid {
box-shadow: none;
}
select.notinvalid {
background-color: green;
}
select.notinvalid:-moz-ui-invalid {
background-color: red;
}
select.invalid {
background-color: red;
}
select.invalid:-moz-ui-invalid {
background-color: green;
}