diff --git a/CHANGELOG.md b/CHANGELOG.md index 7164d11..598a8c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changes to normalize.css +### 4.1.0 (April 11, 2016) + +* Normalize placeholders in Chrome, Edge, and Safari. +* Normalize `text-decoration-skip` property in Safari. +* Normalize file select buttons. +* Normalize search input outlines in Safari. +* Limit Firefox focus normalizations to buttons. +* Restore `main` to package.json. +* Restore proper overflow to certain `select` elements. +* Remove opinionated cursor styles on buttons. +* Update stylelint configuration +* Update tests + ### 4.0.0 (March 19, 2016) * Add the correct font weight for `b` and `strong` in Chrome, Edge, and Safari. diff --git a/normalize.css b/normalize.css index 092de8f..ac61051 100644 --- a/normalize.css +++ b/normalize.css @@ -391,8 +391,7 @@ textarea { } /** - * Remove the inner padding and cancel buttons in Chrome on OS X and - * Safari on OS X. + * Remove the inner padding and cancel buttons in Chrome and Safari on OS X. */ [type="search"]::-webkit-search-cancel-button, @@ -411,7 +410,7 @@ textarea { /** * 1. Correct the inability to style clickable types in iOS and Safari. - * 2. Change font properties to `inherit` in Chrome and Safari. + * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { diff --git a/package.json b/package.json index 6447f35..2bb3831 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "normalize.css", - "version": "4.0.0", + "version": "4.1.0", "description": "A modern alternative to CSS resets", "main": "normalize.css", "style": "normalize.css", @@ -9,8 +9,8 @@ "normalize.css" ], "devDependencies": { - "stylelint": "^5.1.0", - "stylelint-config-standard": "^4.0.1" + "stylelint": "^5.4.0", + "stylelint-config-standard": "^5.0.0" }, "scripts": { "test": "stylelint normalize.css" diff --git a/test.html b/test.html index a9d5524..f4d47ee 100644 --- a/test.html +++ b/test.html @@ -149,6 +149,10 @@
dummy anchor
+

should not skip underlines

+
+ quip and jig +

should not have a focus outline when both focused and hovered (opinionated)

dummy anchor @@ -226,6 +230,16 @@
+

code, kbd, pre, samp

+

should render text at the same absolute size as normal text

+
+ span: abcdefghijklmnopqrstuvwxyz.
+ code: abcdefghijklmnopqrstuvwxyz.
+ kbd: abcdefghijklmnopqrstuvwxyz.
+ samp: abcdefghijklmnopqrstuvwxyz. +
pre: abcdefghijklmnopqrstuvwxyz.
+
+

figure

should have margins

@@ -240,16 +254,6 @@
-

code, kbd, pre, samp

-

should render text at the same absolute size as normal text

-
- span: abcdefghijklmnopqrstuvwxyz.
- code: abcdefghijklmnopqrstuvwxyz.
- kbd: abcdefghijklmnopqrstuvwxyz.
- samp: abcdefghijklmnopqrstuvwxyz. -
pre: abcdefghijklmnopqrstuvwxyz.
-
-

button, input, optgroup, select, textarea

should inherit font from ancestor

@@ -314,14 +318,6 @@

button and button-style input

-

should have pointer cursor style

-
-

-

-

-

-

-

should be styleable

-

+

+

@@ -344,7 +341,6 @@

should have default cursor style

-

@@ -362,53 +358,11 @@ }

-

-

input[type="checkbox"], input[type="radio"]

-

should have a border-box box model

-
- - - -
-

should not have padding

-
- - -
- -

input[type="number"]

-

should display a default cursor for the decrement button's click target in Chrome

-
- -
- -

input[type="search"]

-

should be styleable

-
- -
-

should not have a cancel button in Safari or Chrome

-
- -
-

fieldset

should have consistent border, padding, and margin

@@ -443,4 +397,49 @@
+

[type="checkbox"], [type="radio"]

+

should have a border-box box model

+
+ + + +
+

should not have padding

+
+ + +
+ +

[type="number"]

+

should display a default cursor for the decrement button's click target in Chrome

+
+ +
+ +

[type="search"]

+

should be styleable

+
+ +
+

should not have a cancel button in Safari or Chrome

+
+ +
+

should reference inherited color

+
+ +
+