mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Merge branch 'battaglr-placeholder'
This commit is contained in:
commit
0dc4df63b7
@ -1,5 +1,9 @@
|
|||||||
# Changes to normalize.css
|
# Changes to normalize.css
|
||||||
|
|
||||||
|
### HEAD
|
||||||
|
|
||||||
|
* Remove `::placeholder` styles due to a bug in Edge.
|
||||||
|
|
||||||
### 4.2.0 (June 30, 2016)
|
### 4.2.0 (June 30, 2016)
|
||||||
|
|
||||||
* Correct the `line-height` in all browsers.
|
* Correct the `line-height` in all browsers.
|
||||||
|
@ -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
|
showing past searches). Safari (but not Chrome) will clip the cancel button on
|
||||||
when it has padding (and `textfield` appearance).
|
when it has padding (and `textfield` appearance).
|
||||||
|
|
||||||
|
#### `::placeholder`
|
||||||
|
|
||||||
|
In Edge, placeholders will disappear on `relative` or `absolute` positioned
|
||||||
|
`<input>` elements if you use `opacity` less than `1` due to a [bug](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3901363/).
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
9
normalize.css
vendored
9
normalize.css
vendored
@ -402,15 +402,6 @@ textarea {
|
|||||||
-webkit-appearance: none;
|
-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.
|
* 1. Correct the inability to style clickable types in iOS and Safari.
|
||||||
* 2. Change font properties to `inherit` in Safari.
|
* 2. Change font properties to `inherit` in Safari.
|
||||||
|
Loading…
Reference in New Issue
Block a user