stylesheets/normalize/_base.scss in compass-normalize-1.4.2 vs stylesheets/normalize/_base.scss in compass-normalize-1.4.3
- old
+ new
@@ -5,14 +5,32 @@
// ==========================================================================
// 1. Sets default font family to sans-serif.
// 2. Prevents iOS text size adjust after orientation change, without disabling
// user zoom.
+// 3. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
+// `em` units.
html {
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ font-size: 100%; // 3
+ }
font-family: sans-serif; // 1
-webkit-text-size-adjust: 100%; // 2
-ms-text-size-adjust: 100%; // 2
+}
+
+// Addresses `font-family` inconsistency between `textarea` and other form
+// elements.
+
+@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ html,
+ button,
+ input,
+ select,
+ textarea {
+ font-family: sans-serif;
+ }
}
// Removes default margin.
body {
\ No newline at end of file