Set text-size-adjust to 100%

This commit is contained in:
necolas 2011-05-06 23:59:32 +01:00
parent 7855316235
commit 0af84884f5
2 changed files with 5 additions and 5 deletions

5
normalize.css vendored
View File

@ -45,14 +45,19 @@ video {
* 3. * 3.
* Remove text size adjust tap color for <html> element * Remove text size adjust tap color for <html> element
* Fixes tap color displayed oddly in iOS * Fixes tap color displayed oddly in iOS
* 4.
* Remove iOS text size adjust without disabling user zoom
*/ */
html { html {
cursor: default; /* 1 */ cursor: default; /* 1 */
overflow-y: scroll; /* 2 */ overflow-y: scroll; /* 2 */
-webkit-tap-highlight-color: transparent; /* 3 */ -webkit-tap-highlight-color: transparent; /* 3 */
-webkit-text-size-adjust: 100%; /* 4 */
-ms-text-size-adjust: 100%; /* 4 */
} }
/* /*
* Remove margin and hide overflow from <body> element * Remove margin and hide overflow from <body> element
*/ */

View File

@ -3,11 +3,6 @@
* Normalized and personalized sizing and spacing * Normalized and personalized sizing and spacing
*/ */
html {
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body, body,
button button
input, input,