mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
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:
parent
d40d0ddcd6
commit
3eadb9d076
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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>
|
||||
<!--
|
||||
|
@ -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>
|
||||
<!--
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user