mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
33392dd2be
commit
ddd3df3d84
@ -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…
Reference in New Issue
Block a user