mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
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:
parent
179aafeda9
commit
cce04361df
21
layout/reftests/bugs/1012640-1-ref.html
Normal file
21
layout/reftests/bugs/1012640-1-ref.html
Normal 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>
|
21
layout/reftests/bugs/1012640-1.html
Normal file
21
layout/reftests/bugs/1012640-1.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user