Skip to content
Permalink
Browse files

style: Add -webkit-appearance:textarea and make that the default for …

…<textarea> for compatibility with other UAs.

Bug: 1507905
Reviewed-by: jwatt
  • Loading branch information...
MatsPalmgren authored and emilio committed Nov 21, 2018
1 parent 4f7a3ae commit 2ebad8de3648d4e11837ce25eed40a3fc889a56a
Showing with 4 additions and 3 deletions.
  1. +4 −3 components/style/values/specified/box.rs
@@ -1155,10 +1155,11 @@ pub enum Appearance {
TabScrollArrowBack,
#[parse(condition = "in_ua_or_chrome_sheet")]
TabScrollArrowForward,
/// A textfield or text area.
/// A multi-line text field, e.g. HTML <textarea>.
#[parse(aliases = "textfield-multiline")]
Textarea,
/// A single-line text field, e.g. HTML <input type=text>.
Textfield,
/// A multiline text field.
TextfieldMultiline,
/// A toolbar in an application window.
#[parse(condition = "in_ua_or_chrome_sheet")]
Toolbar,

0 comments on commit 2ebad8d

Please sign in to comment.
You can’t perform that action at this time.