mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #11363 - Manishearth:transform-noinherit, r=SimonSapin
Don't inherit text-transform on input elements Seems to be pretty standard across browsers. See also: https://www.tjvantoll.com/2012/07/10/default-browser-handling-of-the-css-text-transform-property/ Perhaps we should do this for more font properties? It seems like a bunch aren't inherited. Fixes #11362 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11363) <!-- Reviewable:end -->
This commit is contained in:
commit
2ce9eba3dc
1 changed files with 1 additions and 0 deletions
|
@ -252,6 +252,7 @@ table:matches(
|
|||
|
||||
input, select, option, optgroup, button, textarea, keygen {
|
||||
text-indent: initial;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
textarea { white-space: pre-wrap; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue