diff --git a/normalize.css b/normalize.css index 80059be..74abe62 100644 --- a/normalize.css +++ b/normalize.css @@ -300,7 +300,7 @@ legend { * 1. Define font-size as equal to
font-size * 2. Remove margin from form elements * Fixes different margins set in FF3/4 S5 Chrome - * 3. Define consistent vertical alignment in all browsers + * 3. Define consistent vertical alignment display in all browsers */ button, @@ -310,6 +310,7 @@ textarea { font-size: 100%; /* 1 */ margin: 0; /* 2 */ vertical-align: baseline; /* 3 */ + *vertical-align: middle; /* 3 */ } /* @@ -324,17 +325,6 @@ input { *overflow: visible; /* 2 */ } -/* - * Fix inner padding and border displayed in FF3/4 - * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ - */ - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - /* * 1. Display hand cursor for clickable form elements in all browsers except IE6. * Improves usability and consistency of cursor style between image-type and others @@ -342,25 +332,14 @@ input::-moz-focus-inner { * Fixes inability to style clickable types in iOS */ +button, input[type="button"], input[type="reset"], -input[type="submit"], -button { +input[type="submit"] { cursor: pointer; /* 1 */ -webkit-appearance: button; /* 2 */ } -/* - * 1. Disable default vertical scrollbar for