fune/layout/reftests/font-inflation/form-button-fixed-width-ref.html
Jan Henning ecac6b1824 Bug 1566632 - Part 1: Add some tests for button behaviour under font inflation. r=emilio
Buttons with a fixed height are already correctly prevented from inflating, so
their test already passes. Everything else will be done subsequently.

Differential Revision: https://phabricator.services.mozilla.com/D66096

--HG--
extra : moz-landing-system : lando
2020-03-09 20:27:40 +00:00

20 lines
342 B
HTML

<!DOCTYPE HTML>
<meta charset="utf-8">
<style>
div.outer {
width: 450px;
font-size: 34px;
}
button {
font-size: 12px;
width: 110px;
}
</style>
<!--
Because this button has a fixed width,
font inflation should be disabled.
-->
<div class="outer">
<form><button>Add Comment</button></form>
</div>