jonathantneal
450aa56a20
Normalize lists
2012-02-06 17:15:46 -08:00
Nicolas Gallagher
0f1f244aec
Update CSS comments
2012-01-31 16:07:05 +00:00
Nicolas Gallagher
1dea394cbf
Normalize headings
...
There are various inconsistencies surrounding headings that make
this change worth trialing. The font-size of headings in IE6/7
isn't relative to the root font-size (see #61 ). Modern browsers
set the `h1` font-size based on the depth of nesting in certain
HTML5 sectioning elements. This change overcomes both the issues.
At the same time, the margins are being normalized so that they
are consistent and `em`-based. If people need to customise the
heading font-size and margin, they can either edit normalize.css
directly or override later in the source. But at least any non-
customised headings will behave consistently now.
Close #41
2012-01-31 15:37:34 +00:00
Nicolas Gallagher
fe15b8f862
Re-set cursor to default for disabled input
and button
.
2012-01-31 13:28:24 +00:00
Nicolas Gallagher
f913304498
Combine the two WebKit search input pseudo-element rules
2012-01-22 23:31:15 +00:00
Nicolas Gallagher
a336a75dd2
Move font-family normalization from body
to html
. Close #62
...
Prevents the inability to override the font-family by setting it
on the `html` element later in the CSS.
2012-01-22 23:00:38 +00:00
Nicolas Gallagher
6ef5b9e78a
Remove scrollbar normalization. Fix #64 #65
...
The `html` scrollbar normalization can cause issues in Firefox
when certain techniques are used by JS plugins (e.g. modals).
2012-01-22 22:44:53 +00:00
Nicolas Gallagher
efd8220019
Remove search cancel button from search inputs on Mac OS X.
...
After normalizing the search input on OS X, the search cancel
pseudo-element is not always well positioned and is missing from
other UAs.
2012-01-17 16:33:39 +00:00
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
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
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
fefbe796f1
Remove excess padding from radio and checkbox in IE8/9. Fix #27
2011-08-12 18:29:43 +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
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
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
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
e6afa1ffbc
Make comments less verbose
2011-06-20 16:56:04 +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
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
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
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
Nicolas Gallagher
ae8afed13b
Make tap-highlight-color fix work for Android devices. Fix #2
2011-05-31 05:33:24 -07:00
Nicolas Gallagher
c71f67d42a
Minor change to outline value (none to 0)
2011-05-31 01:50:19 -07:00
Nicolas Gallagher
0c08646b9d
Typo correction
2011-05-31 01:35:05 -07:00
necolas
7b3b5e48be
Minor copy changes to CSS comments
2011-05-27 02:39:36 +01:00
necolas
64ac7d0c1d
Minor formatting correction
2011-05-27 02:04:35 +01:00
necolas
91d958cef9
Switch a:active and a:hover order
2011-05-27 01:52:19 +01:00
necolas
c8aafe34e6
Add {vertical-align:middle} to form elements in IE6/7 - fixes their incorrect label-input alignment when using baseline. Reorder the form element rulesets
2011-05-26 14:14:18 +01:00
necolas
28f8e9b4d3
Minor edit to monospace font fix
2011-05-26 00:14:54 +01:00
necolas
df279d89b4
Normalize <figure> margins
2011-05-25 23:31:24 +01:00
necolas
1be44f3b2a
Add -webkit-appearance:button to clickable input types, fixes inability to style them in iOS. Remove input[type=image] as it already receives a pointer cursor and should not receive button appearance
2011-05-25 22:54:43 +01:00
Nicolas Gallagher
8061c67cf7
Correct the box sizing declarations required to improve cross-browser consistency of specific input types
2011-05-23 08:04:33 -07:00
Nicolas Gallagher
6546f401e4
Remove [vertical-align:top] from [pre, code, kbd, samp]. Was meant to be for iOS but causes issues.
2011-05-23 05:51:09 -07:00
Nicolas Gallagher
a27246fcab
Add table element normalization. Add default font-size and line-height to <body>. Set font-family on <body> and form elements to improve consistency. Set font-size:100% on form elements so they inherit body's font-size.
2011-05-17 09:27:55 -07:00
Nicolas Gallagher
4cf8cf3e6e
Add blockquote and list normalization (previously in normalize.metrics.css)
2011-05-17 08:51:24 -07:00
Nicolas Gallagher
11d60fe7ba
Add normalization of <form> and <fieldset> elements. Add input[type='reset'] to box sizing normalization. Add cursor:pointer for clickable inputs/buttons.
2011-05-17 04:46:20 -07:00
Nicolas Gallagher
56d63dfe7a
Normalize <a> colors. Remove <small> line-height (no effect when not block-level). Reorganise file and edit comments.
2011-05-17 04:02:54 -07:00
Nicolas Gallagher
4fdeb702f1
Add line-height:normal to <input> and <button> elements to match Firefox 3/4 value (set with !important in the UA stylesheet)
2011-05-17 02:47:28 -07:00
Nicolas Gallagher
b8f2b7b34e
Add vertical-align:baseline to form elements
2011-05-17 02:39:30 -07:00
necolas
f28538a363
Add bold font-weight to <b> and <strong>. Add font-size to <pre> <code> <kbd> <samp> (was missing). Introduce more links to further reading.
2011-05-14 11:01:47 +01:00
necolas
9652da94c7
Style HTML5 embedded elements. Remove default cursor from <html>. Reformat comments
2011-05-14 10:34:35 +01:00
necolas
0af84884f5
Set text-size-adjust to 100%
2011-05-06 23:59:32 +01:00
necolas
7855316235
Remove remnants of IE <audio> hack
2011-05-06 23:16:26 +01:00
necolas
08fc3b3d9c
Change vertical-align for inline-block elements to baseline. Set textarea vertical-align to top.
2011-05-06 21:54:19 +01:00
Nicolas Gallagher
d23156d4e4
Remove CSS expressions targeting IE6. Performance issue.
2011-05-06 06:07:39 -07:00
necolas
e58552dbc0
Align textarea with text-top. Improves readability and fixes FF3/4 odd 'baseline' alignment
2011-05-05 20:49:19 +01:00
necolas
9f821f06e3
Add vertical-align:baseline to form elements
2011-05-05 20:41:20 +01:00
necolas
6ed1d6f7e5
Remove overflow:hidden from body, cuts off content of fixed-width elements
2011-05-05 20:33:49 +01:00
necolas
cce41fedd3
Set vertical-align:baseline for sub and sup
2011-05-05 20:32:39 +01:00
Jonathan
341f0af212
Improved <sup> <sub> alignment
2011-05-05 12:05:28 -07:00
Jonathan
7514427a0d
Vendor-prefixed properties precede their standard counterparts
2011-05-03 16:10:28 -07:00
Jonathan
4f1ba27963
Improved display inline block
...
Improved <audio> display
Added <input> <select> <textarea> box sizing
2011-05-03 14:17:32 -07:00
Jonathan
15f071eb43
Update
2011-04-29 09:49:05 -07:00
Jonathan
6671403e3b
Update: <body>
2011-04-28 17:12:49 -07:00
Jonathan
ef12292cc2
Update
2011-04-27 18:18:20 -07:00
Jonathan
b9ad7aea10
Notes
2011-04-22 13:34:18 -07:00
Jonathan
60cc15c386
Language
2011-04-21 09:59:02 -07:00
Jonathan
354859e740
Language
2011-04-21 09:54:43 -07:00
Jonathan
ee50234bcc
Language
2011-04-21 09:46:05 -07:00
Jonathan
3ce871adc2
Language update
2011-04-21 09:44:07 -07:00
Jonathan
d8335d302a
Initial
2011-04-21 09:32:16 -07:00
Jonathan
0434c40f4d
It has begun.
2011-04-21 09:26:51 -07:00