Bug 831354, test fix 2: Make font inflation tests for selects less sensitive to font metrics by using matching font sizes on the block containing the select. r=jwir3

Note that select-combobox-3 doesn't need this fix since it uses
vertical-align: top.
This commit is contained in:
L. David Baron 2013-01-17 20:20:27 +00:00
parent 33392dd2be
commit ddd3df3d84
10 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<style>
body { width: 450px }
select { font-size: 34px }
body, select { font-size: 34px }
</style>
<!--
In a 450px container, the minimum font size at 15em per line is 30px.

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<style>
body { line-height: 1.0; width: 450px }
select { font-size: 12px }
body, select { font-size: 12px }
</style>
<!--
In a 450px container, the minimum font size at 15em per line is 30px.

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<style>
body { width: 450px }
select { font-size: 34px }
body, select { font-size: 34px }
</style>
<!--
In a 450px container, the minimum font size at 15em per line is 30px.

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<style>
body { width: 450px }
select { font-size: 12px }
body, select { font-size: 12px }
</style>
<!--
In a 450px container, the minimum font size at 15em per line is 30px.

View File

@ -1,6 +1,6 @@
<!DOCTYPE HTML>
<style>
body { line-height: 1.0; width: 450px }
body { line-height: 1.0; width: 450px; font-size: 34px; }
select { vertical-align: top; font-size: 12px; width: 100px; }
</style>
<!--

View File

@ -1,6 +1,6 @@
<!DOCTYPE HTML>
<style>
body { line-height: 1.0; width: 450px }
body { line-height: 1.0; width: 450px; font-size: 34px; }
select { vertical-align: top; font-size: 12px; width: 100px; }
</style>
<!--

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<style>
body { width: 450px }
select { font-size: 34px }
body, select { font-size: 34px }
</style>
<!--
In a 450px container, the minimum font size at 15em per line is 30px.

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<style>
body { width: 450px }
select { font-size: 12px }
body, select { font-size: 12px }
</style>
<!--
In a 450px container, the minimum font size at 15em per line is 30px.

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<style>
body { width: 450px }
select { font-size: 34px }
body, select { font-size: 34px }
</style>
<!--
In a 450px container, the minimum font size at 15em per line is 30px.

View File

@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<style>
body { width: 450px }
select { font-size: 12px }
body, select { font-size: 12px }
</style>
<!--
In a 450px container, the minimum font size at 15em per line is 30px.