Reftests for bug 541189

This commit is contained in:
Simon Montagu 2010-01-26 23:29:46 -08:00
parent 65db2cf78a
commit 571a82ed3d
3 changed files with 28 additions and 0 deletions

@ -0,0 +1,13 @@
<!DOCTYPE HTML>
<html>
<head>
<style>
span { display:inline-block; width:100px; height:10px; background:yellow; }
</style>
</head>
<!-- Test that &nbsp; has justification space added. -->
<body style="text-align:justify; width:300px;">
<span></span>&nbsp;<span></span>
<span></span>
</body>
</html>

@ -0,0 +1,13 @@
<!DOCTYPE HTML>
<html>
<head>
<style>
span { display:inline-block; width:100px; height:10px; background:yellow; }
</style>
</head>
<!-- Test that U+2007 FIGURE SPACE does not have justification space added. -->
<body style="text-align:justify; width:300px;">
<span></span>&#x2007;<span></span>
<span></span>
</body>
</html>

@ -12,6 +12,8 @@ random-if(MOZ_WIDGET_TOOLKIT!="cocoa") == font-size-adjust-02.html font-size-adj
== justification-1.html justification-1-ref.html
== justification-2a.html justification-2-ref.html
== justification-2b.html justification-2-ref.html
== justification-2c.html justification-2-ref.html
!= justification-2d.html justification-2-ref.html
== line-editing-1a.html line-editing-1-ref.html
== line-editing-1b.html line-editing-1-ref.html
== line-editing-1c.html line-editing-1-ref.html