Skip to content

Commit 26f9a3f

Browse files
committed
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.
1 parent 6d085d7 commit 26f9a3f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

normalize.css

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css 2011-09-22T17:42 UTC - http://github.com/necolas/normalize.css */
1+
/*! normalize.css 2011-10-24T11:29 UTC - http://github.com/necolas/normalize.css */
22

33
/* =============================================================================
44
HTML5 display definitions
@@ -95,14 +95,6 @@ textarea {
9595
Links
9696
========================================================================== */
9797

98-
a {
99-
color: #00e;
100-
}
101-
102-
a:visited {
103-
color: #551a8b;
104-
}
105-
10698
/*
10799
* Addresses outline displayed oddly in Chrome
108100
*/

0 commit comments

Comments
 (0)