Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <style> |
michael@0 | 3 | div { font-size: 12px; line-height: 1.0; width: 450px } |
michael@0 | 4 | input { font-size: 12px; width: 200px } |
michael@0 | 5 | </style> |
michael@0 | 6 | <!-- |
michael@0 | 7 | Because the width of the input element is constrained, font inflation |
michael@0 | 8 | should be disabled for the input element, but not the div containing |
michael@0 | 9 | it. |
michael@0 | 10 | --> |
michael@0 | 11 | <div>test<input type="text" value="Hello world"></div> |