Commit Graph

362 Commits

Author SHA1 Message Date
Nicolas Gallagher
23c6fe17d2 Add small improvements to legend normalization.
Remove the default padding. In theory, the correct normalization
would be to add the padding to IE6/7 rather than remove it from
all browsers. However, the most common use case is going to be
for legends within unstyled fieldsets, and the presence of 2px
of horizontal padding is likely to be unexpected.

Allow text wrapping in Firefox 3. Modify the default white-space
value to allow long legends to wrap. No simple fix to allow this
in IE6/7/8.
2012-01-17 15:42:10 +00:00
Nicolas Gallagher
31eb8b611e Remove excess padding from checkbox and radio inputs in IE7. Close #42 2012-01-17 14:17:35 +00:00
Nicolas Gallagher
3404fcb8b9 Normalize only the left margin of lists. Fix #49
Prevent the addition of vertical margins on nested lists without
interferred with author expectations when customising margins
directly on 'ul' or 'ol' selectors later in the stylesheet.

Left margin needs to be normalized to remove it from IE6/7.

Close #57
2011-11-04 15:38:33 +00:00
Nicolas Gallagher
77e9ef4952 Minor comment cleanup.
Fix #50
Close #58
2011-11-04 15:37:10 +00:00
Nicolas Gallagher
e9e28741f4 Normalize h1 font-size. Close #41
h1 nested in 'section' and 'article' elements has a smaller
font-size in Firefox, Chrome, and Safari. This introduces browser
consistency.
2011-11-04 15:27:41 +00:00
Nicolas Gallagher
4288d2b7cf Clearing heading tests added to the demo 2011-11-04 15:23:00 +00:00
Nicolas Gallagher
26f9a3f065 Remove default a and a:visited color normalizations.
Inclusion of these normalizations can result in unwanted or
unexpected consequences. This is because `a:visited` has a
specificity of 0,0,1,1. Therefore, the pseudo-class has to be
included in every author link-style with a lower specificity.

This is not expected behaviour when building up link styles from
the browser defaults. Very little is lost by removing the link
color normalization.
2011-10-25 00:34:03 +01:00
Nicolas Gallagher
6d085d7e52 Prevent text inputs growing as you type in IE6/7. Fix #46
Applying *overflow:visible to button/input causes text inputs to
grow to fit their content, even if an explicit, fixed width is
applied. It was originally included to remove excess inner
spacing on buttons and submit/reset/button-type inputs in IE6/7.

Fixing this bug in IE6 requires dropping the fix entirely because
there is no way to avoid it being applied to text inputs. If
there is a need to fix this excess spacing bug in IE6, then it
should be done using a class that is applied to the
necessary elements.

For IE7, the excess spacing fix can be moved into the ruleset
that targets button and submit/reset/button-type inputs. This
prevents text inputs from growing.
2011-09-22 18:42:20 +01:00
Nicolas Gallagher
5e64a2c5cb Edit README to say normalize should be used as an alternative to resets. Close #39 2011-09-14 11:37:32 +01:00
Nicolas Gallagher
4d81be6383 Remove temporary Chrome pre-13 fix for audio/video control styling bug.
Chrome 13 onwards no longer has a problem with -webkit-appearance
destroying the appearance of audio/video button controls. Ref #20
2011-09-14 11:27:24 +01:00
Nicolas Gallagher
3be9da44bc Normalize fieldset border. Fix #34
IE renders rounded corners on fieldsets by default.

All browsers - even those that use the same border value of
2px groove threedface in their UA stylesheet - have different
final rendering colors, widths, and joining of the border.

The chosen value of 1px solid #c0c0c0 takes the most common
visual border width (IE, Firefox, Opera), removes the problematic
groove width value, and takes the computed color value from Chrome.
2011-09-14 11:25:05 +01:00
Nicolas Gallagher
f3de91ac51 Update comment for img border normalization to include reference to Firefox 3 2011-08-31 23:03:02 +01:00
Nicolas Gallagher
54aa1506bc Demo HTML: Whitespace cleanup. Validation cleanup (remove strike element, valid input values, SVG shape.) Close #32 2011-08-30 17:07:36 +01:00
Nicolas Gallagher
aec1395765 Add additional abbr and dfn tests to the demo 2011-08-12 18:34:20 +01:00
Nicolas Gallagher
fefbe796f1 Remove excess padding from radio and checkbox in IE8/9. Fix #27 2011-08-12 18:29:43 +01:00
Nicolas Gallagher
2bc78e7272 Link to a YUI Compressor-based minification tool in README. Close #4 2011-08-11 17:44:14 +01:00
Nicolas Gallagher
013d72407e Update monospace font stack fix to work in Safari 4 2011-08-11 10:27:57 +01:00
Nicolas Gallagher
743ee8bc7b Correct inaccurate description of [hidden] rule 2011-08-10 01:57:03 +01:00
Nicolas Gallagher
09be23f832 Leave default webkit-tap-highlight-color in place. Fix #23 2011-08-03 10:41:54 +01:00
Nicolas Gallagher
775989f4c7 Separate [hidden] and audio:not([controls]) to prevent entire rule being dropped in IE8 2011-08-03 10:39:34 +01:00
Nicolas Gallagher
0bb4cfa742 Simplify hiding of hidden and audio without controls. Work around IE6/7 list-style bug with nav, fix #25 2011-07-31 12:37:12 +01:00
Nicolas Gallagher
45a7355346 Add a test for the [hidden] attribute 2011-07-20 20:53:52 +01:00
Nicolas Gallagher
b3796b42b5 Add [hidden] attribute normalization 2011-07-20 20:35:55 +01:00
Nicolas Gallagher
8ae3231cdb Prevent IE6 from ignoring the embedded media ruleset. Fix #10 2011-07-20 20:06:47 +01:00
Nicolas Gallagher
9576d48fc2 Set {overflow:auto} in IE6/7 for <button> and <input> inside <table>. Fix #18 2011-07-12 12:52:07 +02:00
Nicolas Gallagher
1d174f1013 Fix #20 (only temporary until Chrome updates to version 13) 2011-07-12 12:44:40 +02:00
Nicolas Gallagher
86f6d2a9f2 Merge branch 'master' of github.com:necolas/normalize.css 2011-07-12 12:22:54 +02:00
Nicolas Gallagher
db80311682 Add <audio> and <video> tests to demo. Fix #21 2011-07-12 12:22:38 +02:00
Nicolas Gallagher
7372f50250 Very minor copy typo fix and zoom property change. 2011-06-27 12:09:33 -07:00
Nicolas Gallagher
8cece82659 Add IE9 correction for SVG overflow, fix #16. Update demo to include explicit <img> and <svg> tests. 2011-06-21 18:33:36 +01:00
Nicolas Gallagher
7f8442aa01 Add timestamp and repo link. Close #7 2011-06-21 02:18:46 +01:00
Nicolas Gallagher
9e9faec507 Update README with more details and link to demo 2011-06-21 02:06:55 +01:00
Nicolas Gallagher
82e1797ed2 Reintroduce <audio>, <canvas>, <video> display setting 2011-06-20 18:23:16 +01:00
Nicolas Gallagher
f892df74b1 Improve accuracy of <img> style comments 2011-06-20 17:48:00 +01:00
Nicolas Gallagher
bac7c314a8 Add fix for legend not inheriting color in IE6/7/8/9 2011-06-20 17:28:21 +01:00
Nicolas Gallagher
79c278fa96 Remove unnecessary styles for <td> and <th>. All browsers apply same default styles. 2011-06-20 17:16:58 +01:00
Nicolas Gallagher
b7216e5daa Update README with link to demo and license info 2011-06-20 16:58:53 +01:00
Nicolas Gallagher
e6afa1ffbc Make comments less verbose 2011-06-20 16:56:04 +01:00
Nicolas Gallagher
a974ee71f9 Minor tidy up of <pre><code> HTML example 2011-06-20 16:54:25 +01:00
Nicolas Gallagher
07eece8e1d Update .gitignore 2011-06-18 23:27:13 +01:00
Nicolas Gallagher
fc842fc634 Remove <audio>, <video>, <canvas> display set to inline-block. Default display is inline. Fix #10 2011-06-14 17:44:21 +01:00
Nicolas Gallagher
77519357af Add .gitignore file 2011-06-14 17:40:13 +01:00
Nicolas Gallagher
b9471ae17d Merge pull request #14 from AustinWi/patch-1
Remove <tags> from CSS comments to avoid any problems with CSS formatting tools.
2011-06-10 16:32:55 -07:00
db6ee260e3 Removed <tags> so they wouldn't conflict with procssor.com You can see the exact issue here http://img832.imageshack.us/img832/7329/tagnormalissues.png 2011-06-10 16:15:28 -07:00
necolas
0b20e4923f Correct meta viewport to use initial-scale 2011-06-01 19:22:38 +01:00
Nicolas Gallagher
ba047db386 Move font-size:100% into html ruleset, fix #5. Remove placeholder body line-height. 2011-06-01 09:11:59 -07:00
necolas
ce0c3469e0 Minor changes to properties and values that could be shortened. Improve comment language and change section-comment format (via Jonathan Neal). 2011-05-31 23:06:06 +01:00
necolas
4bf81bb824 Minor change to <pre> etc font-family. Set {display:inline-block} only for audio[controls]. 2011-05-31 20:44:55 +01:00
Nicolas Gallagher
410b484a54 Include link to Procssor for those who want a different CSS formatting style 2011-05-31 08:42:29 -07:00
Nicolas Gallagher
94bf35d61c Remove input[type="search"] WebKit decoration from Safari and Chrome in OSX, corrects excess inner padding. Fix #3 2011-05-31 06:46:59 -07:00