Bug 527943 - Row highlights when user clicks on input field within that row [r=mark.finkle]
authorBenjamin Stover <webapps@stechz.com>
Thu, 03 Dec 2009 09:15:14 -0500
changeset 65885 bba08237d29d6fff362f38ff614880ffc663a8bc
parent 65884 4af3a4c03fa7f63cd75aee2a9e695170f2b0a558
child 65886 f1eb8f851da93ba766bcfd1c2dcccd9d82abf983
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmark
bugs527943
Bug 527943 - Row highlights when user clicks on input field within that row [r=mark.finkle]
mobile/themes/hildon/browser.css
mobile/themes/hildon/platform.css
mobile/themes/wince/browser.css
mobile/themes/wince/platform.css
--- a/mobile/themes/hildon/browser.css
+++ b/mobile/themes/hildon/browser.css
@@ -565,17 +565,17 @@ placeitem {
   color: black;
   background-color: white;
   padding: 2px 4px;
   border-bottom: 1px solid rgb(207,207,207);
   min-height: 70px; /* row size */
 }
 
 autocompleteresult:active,
-placelist placeitem:active,
+placelist placeitem:active:not([selected="true"]),
 .autocompleteresult-selected {
   background-color: #8db8d8;
 }
 
 .autocomplete-item-label,
 .bookmark-item-label {
   margin: 0;
   padding: 0;
--- a/mobile/themes/hildon/platform.css
+++ b/mobile/themes/hildon/platform.css
@@ -431,17 +431,17 @@ richlistitem description.normal-bold {
   white-space: pre-wrap;
 }
 
 richlistitem[selected="true"] {
   color: black;
   background-color: white;
 }
 
-richlistitem:active {
+richlistitem:active:not([selected="true"]) {
   background-color: #8db8d8;
 }
 
 richlistitem.section-header,
 richlistitem[selected="true"].section-header {
   font-weight: bold;
   color: #000;
   background-color: lightgray;
--- a/mobile/themes/wince/browser.css
+++ b/mobile/themes/wince/browser.css
@@ -323,17 +323,17 @@ placeitem {
   color: black;
   background-color: white;
   padding: 1.25mm 0.5mm;
   border-bottom: 0.05mm solid rgb(207,207,207);
   min-height: 9.2mm; /* row size */
 }
 
 autocompleteresult:active,
-placelist placeitem:active,
+placelist placeitem:active:not([selected="true"]),
 .autocompleteresult-selected {
   background-color: #8db8d8;
 }
 
 .autocomplete-item-label,
 .bookmark-item-label {
   margin: 0;
   padding: 0;
--- a/mobile/themes/wince/platform.css
+++ b/mobile/themes/wince/platform.css
@@ -628,17 +628,17 @@ richlistitem description.normal-bold {
   white-space: pre-wrap;
 }
 
 richlistitem[selected="true"] {
   color: black;
   background-color: white;
 }
 
-richlistitem:active {
+richlistitem:active:not([selected="true"]) {
   background-color: #8db8d8;
 }
 
 richlistitem.section-header,
 richlistitem[selected="true"].section-header {
   font-weight: bold;
   color: #000;
   background-color: lightgray;