From 6b81e2aef25ae2d38bbf22f4630d1643dba9da38 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Fri, 13 Sep 2013 11:12:12 -0700 Subject: [PATCH] Fix IE 10 related errors - Remove 'publish' block - `hidden` property not respected by IE 10, use attribute --- speech-mic/speech-mic.html | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/speech-mic/speech-mic.html b/speech-mic/speech-mic.html index 76839e3..053f877 100644 --- a/speech-mic/speech-mic.html +++ b/speech-mic/speech-mic.html @@ -13,7 +13,7 @@ display: inline-block; } } - + #mic { width: 40px; height: 40px; @@ -21,26 +21,28 @@ background: url(images/mic.png) center no-repeat; cursor: pointer; } - + #mic[recognizing=true] { background-color: red; -webkit-animation: zoom 0.75s linear infinite; } - + @-webkit-keyframes zoom { 0% {-webkit-transform: scale(0.75);} 100% {-webkit-transform: scale(1);} } + + [hidden] { + display: none; + }