summaryrefslogtreecommitdiffstats
path: root/layout/reftests/font-inflation/input-text-1-noheight.html
blob: 8606b4eb96069f5454f54369bbf6ed8e75bbb6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML>
<style>
div { font-size: 12px; line-height: 1.0; width: 450px }
input { font-size: 12px; width: 200px }
</style>
<!--
Because the width of the input element is constrained, font inflation
should be disabled for the input element, but not the div containing
it.
-->
<div>test<input type="text" value="Hello world"></div>