Bug 841828 - Show the appropriate cursor on disabled text fields. r=bz
authorMounir Lamouri <mounir.lamouri@gmail.com>
Sat, 16 Feb 2013 10:58:28 +0000
changeset 122124 d79b1d83586197d201213e85d4a286ecc4454014
parent 122121 014e88baa216ccf0234687b038b79920fcd59427
child 122126 746971bdb5c0a5b50ee49566e23e9d735f782dee
push id24319
push userryanvm@gmail.com
push dateSat, 16 Feb 2013 23:49:46 +0000
treeherdermozilla-central@c4de6de47382 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs841828
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 841828 - Show the appropriate cursor on disabled text fields. r=bz
layout/style/forms.css
--- a/layout/style/forms.css
+++ b/layout/style/forms.css
@@ -363,16 +363,21 @@ select:disabled:disabled /* Need the pse
 {
   -moz-user-input: disabled;
   -moz-user-focus: ignore;
   color: GrayText;
   background-color: ThreeDFace;
   cursor: inherit;
 }
 
+input:disabled > .anonymous-div,
+textarea:disabled > .anonymous-div {
+  cursor: default;
+}
+
 option:disabled,
 optgroup:disabled {
   background-color: transparent;
 }
 
 /* hidden inputs */
 input[type="hidden"] {
   -moz-appearance: none;