forked from BrowserWorks/Waterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1283222 - Add some extra WPT line-breaking testcases. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D28624 --HG-- extra : moz-landing-system : lando
- Loading branch information
Showing
8 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
testing/web-platform/meta/css/css-text/line-breaking/line-breaking-016.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[line-breaking-016.html] | ||
expected: | ||
FAIL |
3 changes: 3 additions & 0 deletions
3
testing/web-platform/meta/css/css-text/line-breaking/line-breaking-017.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[line-breaking-017.html] | ||
expected: | ||
FAIL |
16 changes: 16 additions & 0 deletions
16
testing/web-platform/tests/css/css-text/line-breaking/line-breaking-015.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!doctype html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>CSS Text — line breaking at element boundaries</title> | ||
<meta name=assert content="An empty inline element should not introduce a line-break opportunity"> | ||
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details"> | ||
<link rel=match href="reference/line-breaking-015-ref.html"> | ||
<link rel=author title="Jonathan Kew" href="[email protected]"> | ||
<style> | ||
.test { margin: 1em 0; width: 0; line-height: 2; } | ||
</style> | ||
<body> | ||
The word "unbroken" below should <b>not</b> be broken: | ||
<div class="test">un<span></span>bro<b></b>ken</div> | ||
</body> | ||
</html> |
17 changes: 17 additions & 0 deletions
17
testing/web-platform/tests/css/css-text/line-breaking/line-breaking-016.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!doctype html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>CSS Text — line breaking at element boundaries</title> | ||
<meta name=assert content="An out-of-flow element should not introduce a line-break opportunity"> | ||
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details"> | ||
<link rel=match href="reference/line-breaking-016-ref.html"> | ||
<link rel=author title="Jonathan Kew" href="[email protected]"> | ||
<style> | ||
.test { margin: 1em 0; width: 0; } | ||
.oof { position: absolute; left: 6em; } | ||
</style> | ||
<body> | ||
The word "unbroken" below should <b>not</b> be broken: | ||
<div class="test">un<span class="oof"></span>bro<b class="oof">absolute</b>ken</div> | ||
</body> | ||
</html> |
17 changes: 17 additions & 0 deletions
17
testing/web-platform/tests/css/css-text/line-breaking/line-breaking-017.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!doctype html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>CSS Text — line breaking at element boundaries</title> | ||
<meta name=assert content="An out-of-flow element should not introduce a line-break opportunity"> | ||
<link rel=help href="https://www.w3.org/TR/css-text-3/#line-break-details"> | ||
<link rel=match href="reference/line-breaking-017-ref.html"> | ||
<link rel=author title="Jonathan Kew" href="[email protected]"> | ||
<style> | ||
.test { margin: 1em 0; width: 0; } | ||
.oof { float: left; } | ||
</style> | ||
<body> | ||
The word "unbroken" below should <b>not</b> be broken: | ||
<div class="test">un<span class="oof"></span>bro<b class="oof">float</b>ken</div> | ||
</body> | ||
</html> |
13 changes: 13 additions & 0 deletions
13
testing/web-platform/tests/css/css-text/line-breaking/reference/line-breaking-015-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>CSS Text — reference file for line-breaking test</title> | ||
<link rel=author title="Jonathan Kew" href="[email protected]"> | ||
<style> | ||
.test { margin: 1em 0; line-height: 2; } | ||
</style> | ||
<body> | ||
The word "unbroken" below should <b>not</b> be broken: | ||
<div class="test">unbroken</div> | ||
</body> | ||
</html> |
14 changes: 14 additions & 0 deletions
14
testing/web-platform/tests/css/css-text/line-breaking/reference/line-breaking-016-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!doctype html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>CSS Text — reference file for line-breaking test</title> | ||
<link rel=author title="Jonathan Kew" href="[email protected]"> | ||
<style> | ||
.test { margin: 1em 0; } | ||
.oof { position: absolute; left: 6em; } | ||
</style> | ||
<body> | ||
The word "unbroken" below should <b>not</b> be broken: | ||
<div class="test">unbroken<b class="oof">absolute</b></div> | ||
</body> | ||
</html> |
13 changes: 13 additions & 0 deletions
13
testing/web-platform/tests/css/css-text/line-breaking/reference/line-breaking-017-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>CSS Text — reference file for line-breaking test</title> | ||
<link rel=author title="Jonathan Kew" href="[email protected]"> | ||
<style> | ||
.test { margin: 1em 0; } | ||
</style> | ||
<body> | ||
The word "unbroken" below should <b>not</b> be broken: | ||
<div class="test">unbroken<br><b>float</b></div> | ||
</body> | ||
</html> |