From b9284de023062e471892f264b8d1409a3322be4e Mon Sep 17 00:00:00 2001 From: Chris Double Date: Thu, 21 Jun 2012 11:29:39 +1200 Subject: [PATCH] Bug 766407 - Fix HTML media control bindings on B2G - r=gavin --- b2g/chrome/content/content.css | 3 +-- b2g/chrome/content/touchcontrols.css | 13 +++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/b2g/chrome/content/content.css b/b2g/chrome/content/content.css index d0d8f3716a3..9a045cdbd34 100644 --- a/b2g/chrome/content/content.css +++ b/b2g/chrome/content/content.css @@ -79,7 +79,6 @@ xul|thumb { } /* -moz-touch-enabled? media elements */ -video > xul|videocontrols, -audio > xul|videocontrols { +:-moz-any(video, audio) > xul|videocontrols { -moz-binding: url("chrome://global/content/bindings/videocontrols.xml#touchControls"); } diff --git a/b2g/chrome/content/touchcontrols.css b/b2g/chrome/content/touchcontrols.css index 6eb45e9e061..86182132c9e 100644 --- a/b2g/chrome/content/touchcontrols.css +++ b/b2g/chrome/content/touchcontrols.css @@ -179,3 +179,16 @@ -moz-transform: none; } +/* Error description formatting */ +.errorLabel { + font-family: Helvetica, Arial, sans-serif; + font-size: 11px; + color: #bbb; + text-shadow: + -1px -1px 0 #000, + 1px -1px 0 #000, + -1px 1px 0 #000, + 1px 1px 0 #000; + padding: 0 10px; + text-align: center; +}