Bug 1485669: Upstream the tests from bug 488725. r=dbaron

Differential Revision: https://phabricator.services.mozilla.com/D4076
This commit is contained in:
Emilio Cobos Álvarez 2018-08-23 15:29:01 +02:00
Родитель d4aeb28fd2
Коммит 4440463c5d
26 изменённых файлов: 442 добавлений и 196 удалений

Просмотреть файл

@ -1,18 +0,0 @@
<!doctype html>
<style>
div {
width: 10ch;
white-space: nowrap;
font-family: monospace;
}
span {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
</style>
<div>
Some text that overflows my parent.
<span></span>
</div>

Просмотреть файл

@ -1,19 +0,0 @@
<!doctype html>
<style>
div {
width: 10ch;
white-space: nowrap;
font-family: monospace;
}
span {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
</style>
<div>
Some text that
<span></span>
overflows my parent.
</div>

Просмотреть файл

@ -1,23 +0,0 @@
<!doctype html>
<style>
div {
width: 10ch;
font-family: monospace;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
.nowrap {
white-space: nowrap;
}
</style>
<div>
Some
<span class="nowrap">
text that overflows my parent.
</span>
<span class="float"></span>
</div>

Просмотреть файл

@ -1,22 +0,0 @@
<!doctype html>
<style>
div {
width: 10ch;
font-family: monospace;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
.nowrap {
white-space: nowrap;
}
</style>
<div>
Some
<span class="nowrap">
text that overflows <span class="float"></span> my parent.
</span>
</div>

Просмотреть файл

@ -1,22 +0,0 @@
<!doctype html>
<style>
div {
width: 10ch;
font-family: monospace;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
.nowrap {
white-space: nowrap;
}
</style>
<div>
Some
<span class="nowrap">
<span class="float"></span> text that overflows my parent.
</span>
</div>

Просмотреть файл

@ -1,2 +0,0 @@
<!doctype html>
<div>Hello Kittie

Просмотреть файл

@ -1,10 +0,0 @@
<!doctype html>
<style>
div {
white-space: nowrap;
}
span {
float: left;
}
</style>
<div>Kittie<span>Hello&nbsp;</span>

Просмотреть файл

@ -1,10 +0,0 @@
<!doctype html>
<style>
div {
white-space: nowrap;
}
span {
float: left;
}
</style>
<div><span>Hello&nbsp;</span>Kittie

Просмотреть файл

@ -1,20 +0,0 @@
<!doctype html>
<style>
div {
width: 10ch;
white-space: nowrap;
font-family: monospace;
}
.nowrap {
white-space: nowrap;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
</style>
<div>
<span class="nowrap">S<div class="float"></div><span>ome</span> text that overflows my parent.</span>
</div>

Просмотреть файл

@ -1,18 +0,0 @@
<!doctype html>
<style>
div {
width: 10ch;
white-space: nowrap;
font-family: monospace;
}
span {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
</style>
<div>
Some <span></span>
text that overflows my parent.
</div>

Просмотреть файл

@ -1,22 +0,0 @@
<!doctype html>
<style>
div {
width: 10ch;
font-family: monospace;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
.nowrap {
white-space: nowrap;
}
</style>
<div>
Some
<span class="nowrap">
text <span class="float"></span> that overflows my parent.
</span>
</div>

Просмотреть файл

@ -117,13 +117,3 @@ random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) == float-in-rtl-slr-2d.html
== float-in-rtl-slr-4b.html float-in-rtl-slr-4-ref.html
== float-in-rtl-slr-4c.html float-in-rtl-slr-4-ref.html
== float-in-rtl-slr-4d.html float-in-rtl-slr-4-ref.html
!= float-nowrap-1.html float-nowrap-1-notref.html
== float-nowrap-2.html float-nowrap-1.html
== float-nowrap-3.html float-nowrap-3-ref.html
!= float-nowrap-3.html float-nowrap-4.html
== float-nowrap-4.html float-nowrap-4-ref.html
== float-nowrap-5.html float-nowrap-5-ref.html
== float-nowrap-6.html float-nowrap-5-ref.html
== float-nowrap-7.html float-nowrap-1.html
== float-nowrap-8.html float-nowrap-1.html
== float-nowrap-9.html float-nowrap-3-ref.html

Просмотреть файл

@ -47783,6 +47783,90 @@
{}
]
],
"css/CSS2/floats/float-nowrap-2.html": [
[
"/css/CSS2/floats/float-nowrap-2.html",
[
[
"/css/CSS2/floats/float-nowrap-1.html",
"=="
]
],
{}
]
],
"css/CSS2/floats/float-nowrap-3.html": [
[
"/css/CSS2/floats/float-nowrap-3.html",
[
[
"/css/CSS2/floats/float-nowrap-3-ref.html",
"=="
]
],
{}
]
],
"css/CSS2/floats/float-nowrap-5.html": [
[
"/css/CSS2/floats/float-nowrap-5.html",
[
[
"/css/CSS2/floats/float-nowrap-5-ref.html",
"=="
]
],
{}
]
],
"css/CSS2/floats/float-nowrap-6.html": [
[
"/css/CSS2/floats/float-nowrap-6.html",
[
[
"/css/CSS2/floats/float-nowrap-5-ref.html",
"=="
]
],
{}
]
],
"css/CSS2/floats/float-nowrap-7.html": [
[
"/css/CSS2/floats/float-nowrap-7.html",
[
[
"/css/CSS2/floats/float-nowrap-1.html",
"=="
]
],
{}
]
],
"css/CSS2/floats/float-nowrap-8.html": [
[
"/css/CSS2/floats/float-nowrap-8.html",
[
[
"/css/CSS2/floats/float-nowrap-1.html",
"=="
]
],
{}
]
],
"css/CSS2/floats/float-nowrap-9.html": [
[
"/css/CSS2/floats/float-nowrap-9.html",
[
[
"/css/CSS2/floats/float-nowrap-3-ref.html",
"=="
]
],
{}
]
],
"css/CSS2/floats/floated-table-wider-than-specified.html": [
[
"/css/CSS2/floats/floated-table-wider-than-specified.html",
@ -189493,6 +189577,42 @@
]
},
"reftest_node": {
"css/CSS2/floats/float-nowrap-1.html": [
[
"/css/CSS2/floats/float-nowrap-1.html",
[
[
"/css/CSS2/floats/float-nowrap-1-notref.html",
"!="
]
],
{}
]
],
"css/CSS2/floats/float-nowrap-3-ref.html": [
[
"/css/CSS2/floats/float-nowrap-3-ref.html",
[
[
"/css/CSS2/floats/float-nowrap-4.html",
"!="
]
],
{}
]
],
"css/CSS2/floats/float-nowrap-4.html": [
[
"/css/CSS2/floats/float-nowrap-4.html",
[
[
"/css/CSS2/floats/float-nowrap-4-ref.html",
"=="
]
],
{}
]
],
"css/CSS2/floats/floats-placement-vertical-004-ref.xht": [
[
"/css/CSS2/floats/floats-placement-vertical-004-ref.xht",
@ -227044,6 +227164,21 @@
{}
]
],
"css/CSS2/floats/float-nowrap-1-notref.html": [
[
{}
]
],
"css/CSS2/floats/float-nowrap-4-ref.html": [
[
{}
]
],
"css/CSS2/floats/float-nowrap-5-ref.html": [
[
{}
]
],
"css/CSS2/floats/floats-in-table-caption-001-ref.html": [
[
{}
@ -475862,6 +475997,58 @@
"59843ae54b64f6ce4f7e616d4be491c911ea84cf",
"support"
],
"css/CSS2/floats/float-nowrap-1-notref.html": [
"90eb8ef0501371ed2bac0d9a5d834f389f6df7cc",
"support"
],
"css/CSS2/floats/float-nowrap-1.html": [
"e9bd0db6fec826573204e1e1b0a0a96ca0db8204",
"reftest_node"
],
"css/CSS2/floats/float-nowrap-2.html": [
"a20ebee2e17969ebc2a3cc4c564268b2d9b460c7",
"reftest"
],
"css/CSS2/floats/float-nowrap-3-ref.html": [
"a7d1a0b3a5d054a5d729d6c39e05a2226d023698",
"reftest_node"
],
"css/CSS2/floats/float-nowrap-3.html": [
"68be2ca43749459ef5e89ee5e4e5413e208fdc97",
"reftest"
],
"css/CSS2/floats/float-nowrap-4-ref.html": [
"bcc45773c03ba4014569442509b82beac79ff1c3",
"support"
],
"css/CSS2/floats/float-nowrap-4.html": [
"3df6dcc3a8fdd9397322f2bc2ce182a1b66da9af",
"reftest_node"
],
"css/CSS2/floats/float-nowrap-5-ref.html": [
"61ec5b6e4a4413eedeedf452f49200dac57d1efc",
"support"
],
"css/CSS2/floats/float-nowrap-5.html": [
"e3dd4f2092e13f5326f2724ae24e63d418d17930",
"reftest"
],
"css/CSS2/floats/float-nowrap-6.html": [
"480421e65b0d537835899bc0ad24cc6abe6f2c2e",
"reftest"
],
"css/CSS2/floats/float-nowrap-7.html": [
"81f43c1770f07113e685395143b331fcaf4c79a1",
"reftest"
],
"css/CSS2/floats/float-nowrap-8.html": [
"bd066e4f94566395a78e7ac757c91f611257dfa9",
"reftest"
],
"css/CSS2/floats/float-nowrap-9.html": [
"f16e798ab48ffbdf25e25b50d33791503dd299f2",
"reftest"
],
"css/CSS2/floats/floated-table-wider-than-specified.html": [
"f93d50e43dd3eb49d5c8964200b7fe4ebb5bd6c8",
"reftest"

Просмотреть файл

@ -1,4 +1,7 @@
<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<style>
div {
width: 10ch;

Просмотреть файл

@ -0,0 +1,24 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="mismatch" href="float-nowrap-1-notref.html">
<style>
div {
width: 10ch;
white-space: nowrap;
font-family: monospace;
}
span {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
</style>
<div>
Some text that overflows my parent.
<span></span>
</div>

Просмотреть файл

@ -0,0 +1,25 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="match" href="float-nowrap-1.html">
<style>
div {
width: 10ch;
white-space: nowrap;
font-family: monospace;
}
span {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
</style>
<div>
Some text that
<span></span>
overflows my parent.
</div>

Просмотреть файл

@ -0,0 +1,29 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="mismatch" href="float-nowrap-4.html">
<style>
div {
width: 10ch;
font-family: monospace;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
.nowrap {
white-space: nowrap;
}
</style>
<div>
Some
<span class="nowrap">
text that overflows my parent.
</span>
<span class="float"></span>
</div>

Просмотреть файл

@ -0,0 +1,28 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="match" href="float-nowrap-3-ref.html">
<style>
div {
width: 10ch;
font-family: monospace;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
.nowrap {
white-space: nowrap;
}
</style>
<div>
Some
<span class="nowrap">
text that overflows <span class="float"></span> my parent.
</span>
</div>

Просмотреть файл

@ -1,4 +1,7 @@
<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<style>
div {
width: 10ch;

Просмотреть файл

@ -0,0 +1,28 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="match" href="float-nowrap-4-ref.html">
<style>
div {
width: 10ch;
font-family: monospace;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
.nowrap {
white-space: nowrap;
}
</style>
<div>
Some
<span class="nowrap">
<span class="float"></span> text that overflows my parent.
</span>
</div>

Просмотреть файл

@ -0,0 +1,5 @@
<!doctype html>
<title>CSS Test Reference</title>
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<div>Hello Kittie

Просмотреть файл

@ -0,0 +1,16 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="match" href="float-nowrap-5-ref.html">
<style>
div {
white-space: nowrap;
}
span {
float: left;
}
</style>
<div>Kittie<span>Hello&nbsp;</span>

Просмотреть файл

@ -0,0 +1,16 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="match" href="float-nowrap-5-ref.html">
<style>
div {
white-space: nowrap;
}
span {
float: left;
}
</style>
<div><span>Hello&nbsp;</span>Kittie

Просмотреть файл

@ -0,0 +1,26 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="match" href="float-nowrap-1.html">
<style>
div {
width: 10ch;
white-space: nowrap;
font-family: monospace;
}
.nowrap {
white-space: nowrap;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
</style>
<div>
<span class="nowrap">S<div class="float"></div><span>ome</span> text that overflows my parent.</span>
</div>

Просмотреть файл

@ -0,0 +1,24 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="match" href="float-nowrap-1.html">
<style>
div {
width: 10ch;
white-space: nowrap;
font-family: monospace;
}
span {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
</style>
<div>
Some <span></span>
text that overflows my parent.
</div>

Просмотреть файл

@ -0,0 +1,28 @@
<!doctype html>
<title>CSS Test: Floats in nowrap context</title>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
<link rel="author" href="https://www.mozilla.org" title="Mozilla">
<link rel="match" href="float-nowrap-3-ref.html">
<style>
div {
width: 10ch;
font-family: monospace;
}
.float {
float: right;
width: 5ch;
height: 5ch;
background: blue;
}
.nowrap {
white-space: nowrap;
}
</style>
<div>
Some
<span class="nowrap">
text <span class="float"></span> that overflows my parent.
</span>
</div>