Compare commits

...
32 Commits
Author SHA1 Message Date
Nicolas Gallagher 857aa8bfd4 v1.1.3 2013-08-29 18:53:52 -07:00
Nicolas Gallagher e44e170c50 Mention that v1 is no longer maintained 2013-08-29 18:53:00 -07:00
Hans Christian Reinl f17e57aba7 Update component.json to fit new specification
Please see 690f8abb to see the full description in v2.
2013-08-29 18:50:49 -07:00
Nicolas Gallagher 223bec90d5 v1.1.2 2013-05-11 14:00:28 -07:00
Nicolas Gallagher a27353cd9f Add bower.json to release instructions 2013-05-11 13:53:05 -07:00
Nicolas Gallagher 52e76de509 Revert root color and background normalization
Commit: 121c08273b

The change caused problems with `body` background color no longer
bubbling up the the `html` element.

It also prevented you from setting `color` or `background` styles on
`html` before the normalize.css styles.

It might not be possibly to safely address – within normalize.css –
the problem that it was trying to avoid.

Fix gh-188
2013-05-11 11:36:10 -07:00
Nicolas Gallagher c2422928c4 Simplify the Component(1) manifest file 2013-05-11 11:32:35 -07:00
Nicolas Gallagher f5543a2646 Add Bower manifest file 2013-05-11 11:32:18 -07:00
Nicolas Gallagher 7749af6f3d Fix typo in CONTRIBUTING.md 2013-04-07 18:33:46 -07:00
Nicolas Gallagher 858bb9017c Fix property ordering 2013-04-07 17:39:46 -07:00
Nicolas Gallagher 4f2276d68d Fix example git tag command in docs 2013-04-07 17:25:59 -07:00
Nicolas Gallagher 1e768e746a v1.1.1 2013-04-07 17:23:36 -07:00
Nicolas Gallagher 437072a982 Add contribution guidelines
Includes process for maintainers while there is no automation in place.
2013-04-07 17:21:01 -07:00
Nicolas Gallagher 8086921dfa Change gh-page URLs to use .io
GitHub have redirected all `username.github.com` pages to
`username.github.io`.
2013-04-05 12:53:32 -07:00
Nicolas Gallagher d31707e2b7 Fix typo 2013-04-03 14:14:01 -04:00
Nicolas Gallagher 121c08273b Protect root against system color schemes
System color schemes (in particular, custom themes in Windows and Linux
distros) affect Firefox, IE, and Opera. Normalizing the web site/app's
root background and text color prevents these unwanted settings from
being used. Chrome doesn't apply system-level schemes to websites.

Fix gh-170
2013-04-01 07:07:02 -07:00
Nicolas Gallagher a91b3af1a4 Clean up component.json
Bower doesn't currently use several properties that were included.
Keep `styles` for now, for Component(1).
2013-04-01 07:02:29 -07:00
Nicolas Gallagher 97e7867161 v1.1.0 2013-01-20 17:38:28 -08:00
Nicolas Gallagher 0c847f3283 Update README acknowledgements 2013-01-20 17:36:50 -08:00
Nicolas Gallagher 5dbbae183a Update CHANGELOG 2013-01-20 17:25:40 -08:00
Nicolas Gallagher acf40793b3 Normalize form element text-transform
By default, browsers set `text-transform:none` on most form controls in
order to prevent `text-transform` being inherited from ancestor nodes.

However, the `button` and `select` elements are exceptions.

* Firefox and Opera do not apply `text-transform:none` to `select`.

* Chrome, Safari, and IE 6+ do not apply `text-transform:none` to
  `button.

It's not suitable to set `text-transform:inherit` because all other form
elements intentionally avoid it. Safari and IE 6/7 will not honour that
style for `select`, and Chrome will only do so when the `select` element
is clicked.

Further details:
http://tjvantoll.com/2012/07/10/default-browser-handling-of-the-css-text-transform-property/
2013-01-20 17:23:25 -08:00
Nicolas Gallagher 54f470cfc6 Update CHANGELOG 2013-01-20 09:49:15 -08:00
Nicolas Gallagher a51697a1dd Normalize hr
Firefox uses different `box-sizing` and `height` values to all other
browsers. Firefox doesn't currently support `box-sizing` without the
`-moz-` prefix, so we use both the vendor-prefixed and unprefixed
properties to ensure that it matches the `content-box` value of other
browsers. It also requires the `height` to be set to `0`.

Known issue: this does not normalize IE 6/7 as `hr` cannot be reliably
styled in those browsers.
2013-01-20 09:44:25 -08:00
Nicolas Gallagher b1ac8a4e25 Add hr test 2013-01-20 09:44:13 -08:00
Nicolas Gallagher c0a9664c12 Update CHANGELOG 2013-01-14 20:56:46 -08:00
Dawid Kruczek 048ea8bf0d Add main element to HTML5 display definitions
The HTML Working Draft has added `main` as a new element.
2013-01-14 20:52:06 -08:00
Nicolas Gallagher 07c0beb3d0 Fix cursor style for disabled button input
The Android 4.0.* work around - `html input[type="button"]` - requires
the addition of `html` to the selector for disabled inputs, otherwise
disabled button inputs still have the `pointer` cursor.
2012-12-01 17:34:14 -08:00
Nicolas Gallagher d6c54bba6f Language and comment style
* Consistent use of tense.
* Small change to use common comment style.
2012-11-26 09:38:09 -08:00
Nicolas Gallagher 43af50617c v1.0.2 2012-11-17 10:33:15 -08:00
Nicolas Gallagher 1364ab62f8 Update component.json for 'component' support 2012-11-17 10:32:34 -08:00
Nicolas Gallagher 9323d0d9aa Correct font-size normalization for h6 2012-11-17 10:24:50 -08:00
Nicolas Gallagher ee61f84f3e Add trailing slash to 'homepage' in component.json
GitHub 301 redirects the URL without a trailing slash to the URL with a
trailing slash.
2012-08-20 10:59:02 +01:00
7 changed files with 350 additions and 113 deletions
+28 -2
View File
@@ -1,8 +1,34 @@
== 1.0.1 (August 19, 2012)
=== HEAD
=== 1.1.3 (August 30, 2013)
* Update component.json to fit new specification
=== 1.1.2 (May 11, 2013)
* Revert root `color` and `background` normalizations.
=== 1.1.1 (April 8, 2013)
* Normalize root `color` and `background` to counter the effects of system
color schemes.
=== 1.1.0 (January 21, 2013)
* Normalize `text-transform` for `button` and `select`.
* Normalize `hr` element (excluding IE 6/7).
* Add `main` element to HTML5 display definitions.
* Fix cursor style for disabled button `input`.
=== 1.0.2 (November 17, 2012)
* Correct `h6` font size normalization.
=== 1.0.1 (August 19, 2012)
* Adjust `small` font size normalization.
== 1.0.0 (August 14, 2012)
=== 1.0.0 (August 14, 2012)
(Only the notable changes since public release)
+177
View File
@@ -0,0 +1,177 @@
# Contributing to normalize.css
Please take a moment to review this document in order to make the contribution
process easy and effective for everyone involved.
Following these guidelines helps to communicate that you respect the time of
the developers managing and developing this open source project. In return,
they should reciprocate that respect in addressing your issue or assessing
patches and features.
## Using the issue tracker
The issue tracker is the preferred channel for [bug reports](#bugs),
[features requests](#features) and [submitting pull
requests](#pull-requests), but please respect the following restrictions:
* Please **do not** use the issue tracker for personal support requests.
* Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.
<a name="bugs"></a>
## Bug reports
A bug is a _demonstrable problem_ that is caused by the code in the repository.
Good bug reports are extremely helpful - thank you!
Guidelines for bug reports:
1. **Use the GitHub issue search** check if the issue has already been
reported.
2. **Check if the issue has been fixed** try to reproduce it using the
latest `master` branch in the repository.
3. **Isolate the problem** create a live example (e.g., on
[Codepen](http://codepen.io)) of a [reduced test
case](http://css-tricks.com/6263-reduced-test-cases/).
A good bug report shouldn't leave others needing to chase you up for more
information. Please try to be as detailed as possible in your report. What is
your environment? What steps will reproduce the issue? What browser(s) and OS
experience the problem? What would you expect to be the outcome? All these
details will help people to fix any potential bugs.
Example:
> Short and descriptive example bug report title
>
> A summary of the issue and the browser/OS environment in which it occurs. If
> suitable, include the steps required to reproduce the bug.
>
> 1. This is the first step
> 2. This is the second step
> 3. Further steps, etc.
>
> `<url>` - a link to the reduced test case
>
> Any other information you want to share that is relevant to the issue being
> reported. This might include the lines of code that you have identified as
> causing the bug, and potential solutions (and your opinions on their
> merits).
<a name="features"></a>
## Feature requests
Feature requests are welcome. But take a moment to find out whether your idea
fits with the scope and aims of the project. It's up to *you* to make a strong
case to convince the project's developers of the merits of this feature. Please
provide as much detail and context as possible.
<a name="pull-requests"></a>
## Pull requests
Good pull requests - patches, improvements, new features - are a fantastic
help. They should remain focused in scope and avoid containing unrelated
commits.
**Please ask first** before embarking on any significant work, otherwise you
risk spending a lot of time working on something that the project's developers
might not want to merge into the project.
Please adhere to the coding conventions used throughout a project (whitespace,
accurate comments, etc.) and any other requirements (such as test coverage).
Follow this process if you'd like your work considered for inclusion in the
project:
1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
and configure the remotes:
```bash
# Clone your fork of the repo into the current directory
git clone https://github.com/<your-username>/normalize.css
# Navigate to the newly cloned directory
cd normalize.css
# Assign the original repo to a remote called "upstream"
git remote add upstream https://github.com/necolas/normalize.css
```
2. If you cloned a while ago, get the latest changes from upstream:
```bash
git checkout master
git pull upstream master
```
3. Never work directly on `master`. Create a new topic branch (off the latest
version of `master`) to contain your feature, change, or fix:
```bash
git checkout -b <topic-branch-name>
```
4. Commit your changes in logical chunks. Please adhere to these [git commit
message conventions](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
or your code is unlikely be merged into the main project. Use Git's
[interactive rebase](https://help.github.com/articles/interactive-rebase)
feature to tidy up your commits before making them public.
Make sure to add a test to the `test.html` file if appropriate, and test
your change in all supported browsers.
5. Locally rebase the upstream development branch into your topic branch:
```bash
git pull --rebase upstream master
```
6. Push your topic branch up to your fork:
```bash
git push origin <topic-branch-name>
```
10. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
with a clear title and description.
Please submit a separate pull request for any appropriate changes required
in the `v1` branch for legacy browsers.
**IMPORTANT**: By submitting a patch, you agree to allow the project owner to
license your work under the same license as that used by the project.
<a name="maintainers"></a>
## Maintainers
If you have commit access, please follow this process for merging patches and
cutting new releases.
### Accepting patches
1. Check that a patch is within the scope and philosophy of the project.
2. Check that a patch has any necessary tests and a proper, descriptive commit
message.
3. Test the patch locally.
4. Do not use GitHub's merge button. Apply the patch to `master` locally
(either via `git am` or by checking the whole branch out). Amend minor
problems with the author's original commit if necessary. Then push to GitHub.
5. If a patch should be included in `v1`, cherry-pick the commits or manually
apply if all else fails.
### Releasing a new version
1. Include all new functional changes in the CHANGELOG.
2. Use a dedicated commit to increment the version. The version needs to be
added to the CHANGELOG (inc. date), and the `bower.json`, `component.json`,
and `normalize.css` files.
3. The commit message must be of `v0.0.0` format.
4. Create an annotated tag for the version: `git tag -m "v0.0.0" v0.0.0`.
5. Push the changes and tags to GitHub: `git push --tags origin master`
6. Checkout the `gh-pages` branch and follow the instructions in the README.
+7 -6
View File
@@ -1,11 +1,13 @@
# normalize.css v1.0.1
# normalize.css v1
**v1 is no longer maintained.**
Normalize.css is a customisable CSS file that makes browsers render all
elements more consistently and in line with modern standards. We researched the
differences between default browser styles in order to precisely target only
the styles that need normalizing.
[Check out the demo](http://necolas.github.com/normalize.css/1.0.1/test.html)
[Check out the demo](http://necolas.github.io/normalize.css/1.1.3/test.html)
## What does it do?
@@ -33,10 +35,9 @@ override the defaults later in your CSS.
## Contribute
Please read my [issue
guidelines](https://github.com/necolas/issue-guidelines).
Please read the CONTRIBUTING.md
## Acknowledgements
Normalize.css is a project by [Nicolas Gallagher](http://github.com/necolas)
and [Jonathan Neal](http://github.com/jonathantneal).
Normalize.css is a project by [Nicolas Gallagher](https://github.com/necolas),
co-created with [Jonathan Neal](https://github.com/jonathantneal).
+12
View File
@@ -0,0 +1,12 @@
{
"name": "normalize-css",
"version": "1.1.3",
"main": "normalize.css",
"author": "Nicolas Gallagher",
"ignore": [
"CHANGELOG.md",
"CONTRIBUTING.md",
"component.json",
"test.html"
]
}
+4 -10
View File
@@ -1,14 +1,8 @@
{
"name": "normalize-css",
"version": "1.0.1",
"repo": "necolas/normalize.css",
"version": "1.1.3",
"styles": ["normalize.css"],
"author": "Nicolas Gallagher",
"homepage": "http://necolas.github.com/normalize.css",
"repository": {
"type": "git",
"url": "https://github.com/necolas/normalize.css.git"
},
"licenses": [{
"type": "MIT",
"url": "http://opensource.org/licenses/MIT"
}]
"license": "MIT"
}
+118 -95
View File
@@ -1,11 +1,11 @@
/*! normalize.css v1.0.1 | MIT License | git.io/normalize */
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/*
* Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3.
/**
* Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
article,
@@ -16,14 +16,15 @@ figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/*
* Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
/**
* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
audio,
@@ -34,8 +35,8 @@ video {
*zoom: 1;
}
/*
* Prevents modern browsers from displaying `audio` without controls.
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
@@ -44,9 +45,8 @@ audio:not([controls]) {
height: 0;
}
/*
* Addresses styling for `hidden` attribute not present in IE 7/8/9, Firefox 3,
* and Safari 4.
/**
* Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
* Known issue: no IE 6 support.
*/
@@ -58,21 +58,21 @@ audio:not([controls]) {
Base
========================================================================== */
/*
* 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
/**
* 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
* `em` units.
* 2. Prevents iOS text size adjust after orientation change, without disabling
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-size: 100%; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/*
* Addresses `font-family` inconsistency between `textarea` and other form
/**
* Address `font-family` inconsistency between `textarea` and other form
* elements.
*/
@@ -84,8 +84,8 @@ textarea {
font-family: sans-serif;
}
/*
* Addresses margins handled incorrectly in IE 6/7.
/**
* Address margins handled incorrectly in IE 6/7.
*/
body {
@@ -96,16 +96,16 @@ body {
Links
========================================================================== */
/*
* Addresses `outline` inconsistency between Chrome and other browsers.
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/*
* Improves readability when focused and also mouse hovered in all browsers.
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
@@ -117,9 +117,9 @@ a:hover {
Typography
========================================================================== */
/*
* Addresses font sizes and margins set differently in IE 6/7.
* Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5,
/**
* Address font sizes and margins set differently in IE 6/7.
* Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
* and Chrome.
*/
@@ -149,20 +149,20 @@ h5 {
}
h6 {
font-size: 0.75em;
font-size: 0.67em;
margin: 2.33em 0;
}
/*
* Addresses styling not present in IE 7/8/9, Safari 5, and Chrome.
/**
* Address styling not present in IE 7/8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/*
* Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
/**
* Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
*/
b,
@@ -174,16 +174,27 @@ blockquote {
margin: 1em 40px;
}
/*
* Addresses styling not present in Safari 5 and Chrome.
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/*
* Addresses styling not present in IE 6/7/8/9.
/**
* Address differences between Firefox and other browsers.
* Known issue: no IE 6/7 normalization.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Address styling not present in IE 6/7/8/9.
*/
mark {
@@ -191,8 +202,8 @@ mark {
color: #000;
}
/*
* Addresses margins set differently in IE 6/7.
/**
* Address margins set differently in IE 6/7.
*/
p,
@@ -200,8 +211,8 @@ pre {
margin: 1em 0;
}
/*
* Corrects font family set oddly in IE 6, Safari 4/5, and Chrome.
/**
* Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
*/
code,
@@ -213,8 +224,8 @@ samp {
font-size: 1em;
}
/*
* Improves readability of pre-formatted text in all browsers.
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
@@ -223,16 +234,16 @@ pre {
word-wrap: break-word;
}
/*
* Addresses CSS quotes not supported in IE 6/7.
/**
* Address CSS quotes not supported in IE 6/7.
*/
q {
quotes: none;
}
/*
* Addresses `quotes` property not supported in Safari 4.
/**
* Address `quotes` property not supported in Safari 4.
*/
q:before,
@@ -241,16 +252,16 @@ q:after {
content: none;
}
/*
* Addresses inconsistent and variable font size in all browsers.
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/*
* Prevents `sub` and `sup` affecting `line-height` in all browsers.
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
@@ -273,8 +284,8 @@ sub {
Lists
========================================================================== */
/*
* Addresses margins set differently in IE 6/7.
/**
* Address margins set differently in IE 6/7.
*/
dl,
@@ -288,8 +299,8 @@ dd {
margin: 0 0 0 40px;
}
/*
* Addresses paddings set differently in IE 6/7.
/**
* Address paddings set differently in IE 6/7.
*/
menu,
@@ -298,8 +309,8 @@ ul {
padding: 0 0 0 40px;
}
/*
* Corrects list images handled incorrectly in IE 7.
/**
* Correct list images handled incorrectly in IE 7.
*/
nav ul,
@@ -312,9 +323,9 @@ nav ol {
Embedded content
========================================================================== */
/*
* 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3.
* 2. Improves image quality when scaled in IE 7.
/**
* 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
* 2. Improve image quality when scaled in IE 7.
*/
img {
@@ -322,8 +333,8 @@ img {
-ms-interpolation-mode: bicubic; /* 2 */
}
/*
* Corrects overflow displayed oddly in IE 9.
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
@@ -334,8 +345,8 @@ svg:not(:root) {
Figures
========================================================================== */
/*
* Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
/**
* Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
*/
figure {
@@ -346,15 +357,15 @@ figure {
Forms
========================================================================== */
/*
* Corrects margin displayed oddly in IE 6/7.
/**
* Correct margin displayed oddly in IE 6/7.
*/
form {
margin: 0;
}
/*
/**
* Define consistent border, margin, and padding.
*/
@@ -364,10 +375,10 @@ fieldset {
padding: 0.35em 0.625em 0.75em;
}
/*
* 1. Corrects color not being inherited in IE 6/7/8/9.
* 2. Corrects text not wrapping in Firefox 3.
* 3. Corrects alignment displayed oddly in IE 6/7.
/**
* 1. Correct color not being inherited in IE 6/7/8/9.
* 2. Correct text not wrapping in Firefox 3.
* 3. Correct alignment displayed oddly in IE 6/7.
*/
legend {
@@ -377,11 +388,11 @@ legend {
*margin-left: -7px; /* 3 */
}
/*
* 1. Corrects font size not being inherited in all browsers.
* 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5,
/**
* 1. Correct font size not being inherited in all browsers.
* 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
* and Chrome.
* 3. Improves appearance and consistency in all browsers.
* 3. Improve appearance and consistency in all browsers.
*/
button,
@@ -394,8 +405,8 @@ textarea {
*vertical-align: middle; /* 3 */
}
/*
* Addresses Firefox 3+ setting `line-height` on `input` using `!important` in
/**
* Address Firefox 3+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
@@ -404,13 +415,25 @@ input {
line-height: normal;
}
/*
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Corrects inability to style clickable `input` types in iOS.
* 3. Improves usability and consistency of cursor style between image-type
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
* 4. Removes inner spacing in IE 7 without affecting normal text inputs.
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
* Known issue: inner spacing remains in IE 6.
*/
@@ -423,19 +446,19 @@ input[type="submit"] {
*overflow: visible; /* 4 */
}
/*
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
input[disabled] {
html input[disabled] {
cursor: default;
}
/*
* 1. Addresses box sizing set to content-box in IE 8/9.
* 2. Removes excess padding in IE 8/9.
* 3. Removes excess padding in IE 7.
/**
* 1. Address box sizing set to content-box in IE 8/9.
* 2. Remove excess padding in IE 8/9.
* 3. Remove excess padding in IE 7.
* Known issue: excess padding remains in IE 6.
*/
@@ -447,9 +470,9 @@ input[type="radio"] {
*width: 13px; /* 3 */
}
/*
* 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
@@ -460,8 +483,8 @@ input[type="search"] {
box-sizing: content-box;
}
/*
* Removes inner padding and search cancel button in Safari 5 and Chrome
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
@@ -470,8 +493,8 @@ input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/*
* Removes inner padding and border in Firefox 3+.
/**
* Remove inner padding and border in Firefox 3+.
*/
button::-moz-focus-inner,
@@ -480,9 +503,9 @@ input::-moz-focus-inner {
padding: 0;
}
/*
* 1. Removes default vertical scrollbar in IE 6/7/8/9.
* 2. Improves readability and alignment in all browsers.
/**
* 1. Remove default vertical scrollbar in IE 6/7/8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
@@ -494,7 +517,7 @@ textarea {
Tables
========================================================================== */
/*
/**
* Remove most spacing between table cells.
*/
+4
View File
@@ -66,6 +66,10 @@
<address>Address: somewhere, world</address>
<hr>
<hr style="height:4px; border:solid #000; border-width:1px 0;">
<p>
The <a href="#">a element</a> example<br>
The <abbr>abbr element</abbr> and <abbr title="Title text">abbr element with title</abbr> examples<br>