Bug 1012640 - patch 3 - Reftest for line break after inline element with white-space:nowrap and whitespace inside the element. r=roc

This commit is contained in:
Jonathan Kew 2015-04-07 09:28:02 +01:00
parent 98011eea67
commit 7e8a2cf53d
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,21 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>white-space: nowrap; regressed in Firefox 29</title>
<style>
.tagcloud { width: 30em; padding: 1px; font-family: monospace; border: 1px solid blue; }
.tagcloud > li { display: inline; white-space: nowrap; }
.tagcloud > li.weight_1 { font-style: italic; }
.tagcloud > li.weight_5 { font-size: 150%; }
</style>
</head>
<body>
<ul class="tagcloud">
<li class="weight_1">short string</li>
<li class="weight_1">short string</li>
<li class="weight_1">short string</li>
<li class="weight_5">why doesn't this move to the next line?</li>
</ul>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>white-space: nowrap; regressed in Firefox 29</title>
<style>
.tagcloud { width: 30em; padding: 1px; font-family: monospace; border: 1px solid blue; }
.tagcloud > li { display: inline; white-space: nowrap; }
.tagcloud > li.weight_1 { font-style: italic; }
.tagcloud > li.weight_5 { font-size: 150%; }
</style>
</head>
<body>
<ul class="tagcloud">
<li class="weight_1">short string </li>
<li class="weight_1">short string </li>
<li class="weight_1">short string </li>
<li class="weight_5">why doesn't this move to the next line? </li>
</ul>
</body>
</html>

View File

@ -1824,6 +1824,7 @@ pref(layout.css.overflow-clip-box.enabled,true) == 992447.html 992447-ref.html
== 1003425-1.html 1003425-1-ref.html
== 1003425-2.html 1003425-2-ref.html
pref(layout.css.sticky.enabled,true) == 1005405-1.html 1005405-1-ref.html
== 1012640-1.html 1012640-1-ref.html
fuzzy-if(/^Windows\x20NT\x205\.1/.test(http.oscpu),255,1) == 1013054-1.html 1013054-1-ref.html
pref(layout.css.will-change.enabled,true) == 1018522-1.html 1018522-1-ref.html
== 1021564-1.html 1021564-ref.html