Bug 554717 - Prevent audio/video controls from inheriting list-style-image.
authorFrank Yan <fyan@mozilla.com>
Tue, 02 Aug 2011 17:43:08 -0700
changeset 73755 bf5d54a5717a0ee5833c3364728644d291462fb7
parent 73754 56a12277818e375fd1f2c800699f8e9671caad1a
child 73756 42e7710675b2b47b1f2dd1d888cabde84e2a4587
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
bugs554717
milestone8.0a1
Bug 554717 - Prevent audio/video controls from inheriting list-style-image.
toolkit/content/widgets/videocontrols.css
--- a/toolkit/content/widgets/videocontrols.css
+++ b/toolkit/content/widgets/videocontrols.css
@@ -13,16 +13,20 @@
 .muteButton,
 .scrubber .scale-slider,
 .volumeControl .scale-slider {
   -moz-user-focus: none;
 }
 
 .mediaControlsFrame {
   direction: ltr;
+  /* Prevent unwanted style inheritance. See bug 554717. */
+  list-style-image: none !important;
+  font: normal normal normal 100%/normal sans-serif !important;
+  text-decoration: none !important;
 }
 
 /* CSS Transitions
  *
  * These are overriden by the default theme; the rules here just 
  * provide a fallback to drive the required transitionend event
  * (in case a 3rd party theme does not provide transitions).
  */