diff --git a/CHANGELOG.md b/CHANGELOG.md index fab2bfa..44d73e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changes to normalize.css +### HEAD + +* Remove `::placeholder` styles due to a bug in Edge. + ### 4.2.0 (June 30, 2016) * Correct the `line-height` in all browsers. diff --git a/README.md b/README.md index 34dc26c..8925f89 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,10 @@ addresses these issues without removing the benefits of search inputs (e.g. showing past searches). Safari (but not Chrome) will clip the cancel button on when it has padding (and `textfield` appearance). +#### `::placeholder` + +In Edge, placeholders will disappear on `relative` or `absolute` positioned +`` elements if you use `opacity` less than `1` due to a [bug](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3901363/). ## Contributing diff --git a/normalize.css b/normalize.css index 5250b74..8fd6326 100644 --- a/normalize.css +++ b/normalize.css @@ -402,15 +402,6 @@ textarea { -webkit-appearance: none; } -/** - * Correct the text style of placeholders in Chrome, Edge, and Safari. - */ - -::-webkit-input-placeholder { - color: inherit; - opacity: 0.54; -} - /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari.