From 6b2f8c62ba30f78713dfd41a21f816e4cbe4146e Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Fri, 11 Oct 2013 16:28:01 -0700 Subject: [PATCH] Remove visibility hidden from veiling; add test for autofocus on input, fixes #317 --- src/boot.js | 2 +- test/html/styling/unveil.html | 33 ++++++++++++++++++++------------- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/src/boot.js b/src/boot.js index ae033c0bf2..a37b177f8e 100644 --- a/src/boot.js +++ b/src/boot.js @@ -15,7 +15,7 @@ var TRANSITION_TIME = 0.3; var style = document.createElement('style'); style.textContent = '.' + VEILED_CLASS + ' { ' + - 'visibility: hidden; opacity: 0; } \n' + + 'opacity: 0; } \n' + '.' + UNVEIL_CLASS + '{ ' + '-webkit-transition: opacity ' + TRANSITION_TIME + 's; ' + 'transition: opacity ' + TRANSITION_TIME +'s; }\n'; diff --git a/test/html/styling/unveil.html b/test/html/styling/unveil.html index 16e50ec672..95f54c7862 100644 --- a/test/html/styling/unveil.html +++ b/test/html/styling/unveil.html @@ -11,8 +11,14 @@