auto merge of #3602 : pcwalton/servo/max-height-input, r=jdm

Some pages, like Google, want to set height explicitly.

r? @jdm
This commit is contained in:
bors-servo 2014-10-07 12:30:34 -06:00
commit 543f11b62b
4 changed files with 18 additions and 1 deletions

View file

@ -116,7 +116,7 @@ area:link,
link:link { color: blue }
script { display: none }
style { display: none }
input { background: white; min-height: 1.0em; max-height: 1.0em; padding: 0em; padding-left: 0.25em; padding-right: 0.25em; border: solid lightgrey 1px; color: black; white-space: nowrap; }
input { background: white; min-height: 1.0em; padding: 0em; padding-left: 0.25em; padding-right: 0.25em; border: solid lightgrey 1px; color: black; white-space: nowrap; }
input[type="button"],
input[type="submit"],
input[type="reset"] { background: lightgrey; border-top: solid 1px #EEEEEE; border-left: solid 1px #CCCCCC; border-right: solid 1px #999999; border-bottom: solid 1px #999999; text-align: center; vertical-align: middle; color: black; }

View file

@ -164,3 +164,4 @@ fragment=top != ../html/acid2.html acid2_ref.html
== vertical_align_text_bottom_a.html vertical_align_text_bottom_ref.html
== inline_hypothetical_box_a.html inline_hypothetical_box_ref.html
== box_sizing_border_box_a.html box_sizing_border_box_ref.html
!= input_height_a.html input_height_ref.html

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<body>
<!-- We assume that inputs are not 100px high on any platform, since that would be absurd -->
<input type=text style="height: 100px;"></input>
</body>
</html>

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<body>
<input type=text></input>
</body>
</html>