зеркало из https://github.com/mozilla/gecko-dev.git
Bug 290125 - Adjust first-letter reftests to be robust against change to floating-firstletter metrics. r=emilio
And fix the overflow-float-overflow.html test to do a != comparison, as indicated by the -notref naming of the reference file. No behavior change; this is just adjusting a couple of old reftests so they will not be affected by the exact detail of how we wrap around a floating first-letter (which is incidental to what they were aiming to test). Differential Revision: https://phabricator.services.mozilla.com/D165007
This commit is contained in:
Родитель
a57a65c6bc
Коммит
9f96171c3e
|
@ -4,6 +4,7 @@
|
|||
<style type="text/css">
|
||||
p:first-letter {
|
||||
float: left;
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
<title>a first-letter testcase</title>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<style type="text/css">
|
||||
p:first-letter {
|
||||
float: left;
|
||||
color: red;
|
||||
}
|
||||
</style>
|
||||
<title>a first-letter testcase</title>
|
||||
|
|
|
@ -5,9 +5,10 @@ div {
|
|||
height: 3em; width: 8em;
|
||||
padding: 3px;
|
||||
background: yellow; color: black;
|
||||
overflow: hidden;
|
||||
line-height: 1.0;
|
||||
}
|
||||
div::first-letter { font-size: 4em; float: left; }
|
||||
div::first-letter { font-size: 6em; float: left; }
|
||||
|
||||
</style>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ div {
|
|||
overflow: auto;
|
||||
line-height: 1.0;
|
||||
}
|
||||
div::first-letter { font-size: 4em; float: left; }
|
||||
div::first-letter { font-size: 6em; float: left; }
|
||||
|
||||
</style>
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ random-if(gtkWidget) random-if(winWidget&&!d2d) == font-text-styles-floater.html
|
|||
== inline-height-empty.html inline-height-empty-ref.html
|
||||
== indic-clusters-1.html indic-clusters-1-ref.html
|
||||
== overflow-float-nooverflow.html overflow-float-nooverflow-ref.html
|
||||
== overflow-float-overflow.html overflow-float-overflow-notref.html
|
||||
!= overflow-float-overflow.html overflow-float-overflow-notref.html
|
||||
== overflow-inline-nooverflow.html overflow-inline-nooverflow-ref.html
|
||||
!= overflow-inline-overflow.html overflow-inline-overflow-notref.html
|
||||
== overflow-inline-overflow.html overflow-inline-overflow-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче