mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
Auto merge of #13445 - pcwalton:button-whitespace, r=mbrubeck
resources: Give button elements `white-space: normal` again.
Fixes Twitter.
Originally regressed in 0a86543e6d
.
r? @metajack
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13445)
<!-- Reviewable:end -->
This commit is contained in:
commit
6693c92c03
4 changed files with 40 additions and 1 deletions
|
@ -9,7 +9,6 @@ input {
|
|||
color: black;
|
||||
font-family: sans-serif;
|
||||
font-size: 0.8333em;
|
||||
white-space: pre;
|
||||
text-align: left;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
@ -132,6 +131,10 @@ textarea {
|
|||
-servo-overflow-clip-box: content-box;
|
||||
}
|
||||
|
||||
input:not([type=radio i]):not([type=checkbox i]):not([type=reset i]):not([type=button i]):not([type=submit i]) {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue