Skip to content

Commit 78244c3

Browse files
w3cgruntbotmoz-wptsync-bot
authored andcommitted
Bug 1848650 [wpt PR 41449] - Udpdate existing tests to match spec change, a=testonly
Automatic update from web-platform-tests Udpdate existing tests to match spec change See w3c/csswg-drafts#8972 -- Extended tests for CSS spec change w3c/csswg-drafts#8972 -- wpt-commits: 53807acd4083a922122b48f1ffe67dbd768ecd7c, 95e1a49d028b1477af6d0e69033d7205d8452da5 wpt-pr: 41449
1 parent d212a22 commit 78244c3

28 files changed

+506
-92
lines changed

testing/web-platform/tests/css/css-text/line-breaking/line-breaking-atomic-003.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
<html>
33
<meta charset="utf-8">
44
<title>CSS Text — NARROW NO-BREAK SPACE after atomic inline</title>
5-
<meta name=assert content="There is a soft wrap opportunity between an atomic inline and a preceeding NARROW NO-BREAK SPACE">
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a preceeding NARROW NO-BREAK SPACE">
66
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
77
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
88
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
99
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
1010
<style>
1111
div {
12-
font: 50px/1 Ahem;
12+
font: 100px/1 Ahem;
1313
color: green;
1414
width: 100px;
15-
height: 100px;
1615
background: red;
1716
}
1817
span {
1918
display: inline-block;
19+
color: transparent;
2020
}
2121
</style>
2222

2323
<p>Test passes if there is a filled green square and <strong>no red</strong>.
2424

25-
<div>AB&#8239;<span>CD</span></div>
25+
<div>A&#8239;<span>B</span></div>

testing/web-platform/tests/css/css-text/line-breaking/line-breaking-atomic-004.html

+8-15
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,24 @@
22
<html>
33
<meta charset="utf-8">
44
<title>CSS Text — NARROW NO-BREAK SPACE before atomic inline</title>
5-
<meta name=assert content="There is a soft wrap opportunity between an atomic inline and a following NARROW NO-BREAK SPACE">
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a following NARROW NO-BREAK SPACE">
66
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7-
<link rel=match href="reference/line-breaking-atomic-004-ref.html">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
88
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
99
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
1010
<style>
11-
.red {
12-
font: 50px/1 Ahem;
13-
position: absolute;
14-
z-index: -1;
15-
color: red;
16-
}
17-
18-
.test {
19-
font: 50px/1 Ahem;
20-
color: green;
11+
div {
12+
font: 100px/1 Ahem;
13+
color: transparent;
2114
width: 100px;
22-
height: 100px;
15+
background: red;
2316
}
2417
span {
2518
display: inline-block;
19+
color: green;
2620
}
2721
</style>
2822

2923
<p>Test passes if there is a filled green square and <strong>no red</strong>.
3024

31-
<div class=red>&#8239;AB<br>&#8239;CD</div>
32-
<div class=test><span>&#8239;AB</span>&#8239;CD</div>
25+
<div><span>A</span>&#8239;B</div>

testing/web-platform/tests/css/css-text/line-breaking/line-breaking-atomic-005.html

+8-15
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,24 @@
22
<html>
33
<meta charset="utf-8">
44
<title>CSS Text — WORD JOINER after atomic inline</title>
5-
<meta name=assert content="There is a soft wrap opportunity between an atomic inline and a following WORD JOINER">
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a following WORD JOINER">
66
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7-
<link rel=match href="reference/line-breaking-atomic-005-ref.html">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
88
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
99
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
1010
<style>
11-
.red {
12-
font: 50px/1 Ahem;
13-
position: absolute;
14-
z-index: -1;
15-
color: red;
16-
}
17-
18-
.test {
19-
font: 50px/1 Ahem;
20-
color: green;
11+
div {
12+
font: 100px/1 Ahem;
13+
color: transparent;
2114
width: 100px;
22-
height: 100px;
15+
background: red;
2316
}
2417
span {
2518
display: inline-block;
19+
color: green;
2620
}
2721
</style>
2822

2923
<p>Test passes if there is a filled green square and <strong>no red</strong>.
3024

31-
<div class=red>&#8288;AB<br>&#8288;CD</div>
32-
<div class=test><span>&#8288;AB</span>&#8288;CD</div>
25+
<div><span>A</span>&#8288;B</div>

testing/web-platform/tests/css/css-text/line-breaking/line-breaking-atomic-006.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
<html>
33
<meta charset="utf-8">
44
<title>CSS Text — WORD JOINER before atomic inline</title>
5-
<meta name=assert content="There is a soft wrap opportunity between an atomic inline and a preceeding WORD JOINER">
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a preceeding WORD JOINER">
66
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
77
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
88
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
99
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
1010
<style>
1111
div {
12-
font: 50px/1 Ahem;
12+
font: 100px/1 Ahem;
1313
color: green;
1414
width: 100px;
15-
height: 100px;
1615
background: red;
1716
}
1817
span {
1918
display: inline-block;
19+
color: transparent;
2020
}
2121
</style>
2222

2323
<p>Test passes if there is a filled green square and <strong>no red</strong>.
2424

25-
<div>AB&#8288;<span>CD</span></div>
25+
<div>A&#8288;<span>B</span></div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — ZERO WIDTH JOINER after atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a following ZERO WIDTH JOINER">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: transparent;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: green;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div><span>A</span>&#x200D;B</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — ZERO WIDTH JOINER before atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a preceeding ZERO WIDTH JOINER">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: green;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: transparent;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div>A&#x200D;<span>B</span></div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — ZERO WIDTH NO-BREAK SPACE after atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a following ZERO WIDTH NO-BREAK SPACE">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: transparent;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: green;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div><span>A</span>&#xFEFF;B</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — ZERO WIDTH NO-BREAK SPACE before atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a preceeding ZERO WIDTH NO-BREAK SPACE">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: green;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: transparent;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div>A&#xFEFF;<span>B</span></div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — MONGOLIAN VOWEL SEPARATOR after atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a preceeding MONGOLIAN VOWEL SEPARATOR">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: green;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: transparent;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div>A&#x180E;<span>B</span></div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — MONGOLIAN VOWEL SEPARATOR before atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a following MONGOLIAN VOWEL SEPARATOR">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: transparent;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: green;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div><span>A</span>&#x180E;B</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — COMBINING GRAPHEME JOINER after atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a preceeding COMBINING GRAPHEME JOINER">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: green;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: transparent;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div>A&#x034F;<span>B</span></div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — COMBINING GRAPHEME JOINER before atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a following COMBINING GRAPHEME JOINER">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: transparent;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: green;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div><span>A</span>&#x034F;B</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — FIGURE SPACE after atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a preceeding FIGURE SPACE (class GL)">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: green;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: transparent;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div>A&#x2007;<span>B</span></div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!doctype html>
2+
<html>
3+
<meta charset="utf-8">
4+
<title>CSS Text — FIGURE SPACE before atomic inline</title>
5+
<meta name=assert content="There is no soft wrap opportunity between an atomic inline and a following FIGURE SPACE (class GL)">
6+
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details">
7+
<link rel=match href="../../reference/ref-filled-green-100px-square.xht">
8+
<link rel=author title="Florian Rivoal" href="https://florian.rivoal.net">
9+
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
10+
<style>
11+
div {
12+
font: 100px/1 Ahem;
13+
color: transparent;
14+
width: 100px;
15+
background: red;
16+
}
17+
span {
18+
display: inline-block;
19+
color: green;
20+
}
21+
</style>
22+
23+
<p>Test passes if there is a filled green square and <strong>no red</strong>.
24+
25+
<div><span>A</span>&#x2007;B</div>

0 commit comments

Comments
 (0)