From 0af84884f524c0df8cdd867523052ead9d653231 Mon Sep 17 00:00:00 2001 From: necolas Date: Fri, 6 May 2011 23:59:32 +0100 Subject: [PATCH] Set text-size-adjust to 100% --- normalize.css | 5 +++++ normalize.metrics.css | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/normalize.css b/normalize.css index b2fd613..5843ff1 100644 --- a/normalize.css +++ b/normalize.css @@ -45,14 +45,19 @@ video { * 3. * Remove text size adjust tap color for element * Fixes tap color displayed oddly in iOS + * 4. + * Remove iOS text size adjust without disabling user zoom */ html { cursor: default; /* 1 */ overflow-y: scroll; /* 2 */ -webkit-tap-highlight-color: transparent; /* 3 */ + -webkit-text-size-adjust: 100%; /* 4 */ + -ms-text-size-adjust: 100%; /* 4 */ } + /* * Remove margin and hide overflow from element */ diff --git a/normalize.metrics.css b/normalize.metrics.css index 83d607f..42b8518 100644 --- a/normalize.metrics.css +++ b/normalize.metrics.css @@ -3,11 +3,6 @@ * Normalized and personalized sizing and spacing */ -html { - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; -} - body, button input,