From 66d7b6bfae8d14611c2c10c81412668d0eb8a3ed Mon Sep 17 00:00:00 2001
From: Hakim El Hattab
Date: Fri, 16 Jan 2015 16:46:34 +0100
Subject: firefox support for #1088

---
 css/reveal.css  | 6 +++++-
 css/reveal.scss | 6 ++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/css/reveal.css b/css/reveal.css
index d8061de..67986b6 100644
--- a/css/reveal.css
+++ b/css/reveal.css
@@ -669,6 +669,10 @@ body {
   background: none;
   overflow: visible; }
 
+.reveal.overview .backgrounds {
+  -webkit-perspective: inherit;
+          perspective: inherit; }
+
 .reveal.overview .backgrounds .slide-background {
   opacity: 1;
   visibility: visible; }
@@ -738,7 +742,7 @@ body {
 /*********************************************
  * PER-SLIDE BACKGROUNDS
  *********************************************/
-.reveal > .backgrounds {
+.reveal .backgrounds {
   position: absolute;
   width: 100%;
   height: 100%;
diff --git a/css/reveal.scss b/css/reveal.scss
index b0db2ef..1c48154 100644
--- a/css/reveal.scss
+++ b/css/reveal.scss
@@ -785,7 +785,9 @@ body {
 	overflow: visible;
 }
 
-
+.reveal.overview .backgrounds {
+	perspective: inherit;
+}
 .reveal.overview .backgrounds .slide-background {
 	opacity: 1;
 	visibility: visible;
@@ -867,7 +869,7 @@ body {
  * PER-SLIDE BACKGROUNDS
  *********************************************/
 
-.reveal>.backgrounds {
+.reveal .backgrounds {
 	position: absolute;
 	width: 100%;
 	height: 100%;
-- 
cgit v1.2.3