Bug 1055865 patch 1 - Add reftest for sizing of empty ::first-letter. r=jfkthame

This test fails without the patch series because the border around the
test is too tall, but patch 5 reduces the height of the border in the
test so that it matches the reference.
This commit is contained in:
L. David Baron 2014-08-25 15:32:02 -07:00
parent b11f0a72f7
commit 14f1311791
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<!DOCTYPE HTML>
<title>Testcase, bug 1055865</title>
<style>
p { border: thin solid blue; color: transparent; font: 50px/50px serif; }
p::first-letter { background: transparent; color: transparent }
</style>
<p>text</p>

View File

@ -0,0 +1,10 @@
<!DOCTYPE HTML>
<title>Testcase, bug 1055865</title>
<style>
p { border: thin solid blue; color: transparent; font: 50px/50px serif; }
p::first-letter { background: transparent; color: transparent }
</style>
<p>&nbsp;text</p>

View File

@ -65,3 +65,4 @@ fails-if(winWidget||cocoaWidget) == 617869-1.html 617869-1-ref.html
== 958249.html 958249-ref.html
== font-text-styles.html font-text-styles-ref.html
fails-if(gtk2Widget) random-if(winWidget&&!d2d) == font-text-styles-floater.html font-text-styles-floater-ref.html # bug 992846
fails == inline-height-empty.html inline-height-empty-ref.html