-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-text] Allow flexibility where spec is undefined
Closes #19903
- Loading branch information
Showing
4 changed files
with
55 additions
and
20 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
css/css-text/word-break/reference/word-break-break-all-inline-006-a-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,20 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>word-break: break-all on inline element</title> | ||
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'> | ||
<style> | ||
div { | ||
border: solid 5px; | ||
margin: 5px; | ||
font-family: monospace; | ||
width: 6.1ch; | ||
padding: 1px; | ||
} | ||
.test { word-break: break-all; } | ||
.blue { border-color: blue; } | ||
.orange { border-color: orange; } | ||
</style> | ||
<p>Test passes if the black box is identical to either the blue or the orange one. | ||
<div class="blue">aaaabb<br>bbbbbb<br>bbb<br>ccccc</div> | ||
<div>aaaabb<br>bbbbbb<br>bbb<br>ccccc</div> | ||
<div class="orange">aaaabb<br>bbbbbb<br>bb<br>bccccc</div> |
20 changes: 20 additions & 0 deletions
20
css/css-text/word-break/reference/word-break-break-all-inline-006-b-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,20 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>word-break: break-all on inline element</title> | ||
<link rel='author' title='Jonathan Kew' href='mailto:jkew@mozilla.com'> | ||
<style> | ||
div { | ||
border: solid 5px; | ||
margin: 5px; | ||
font-family: monospace; | ||
width: 6.1ch; | ||
padding: 1px; | ||
} | ||
.test { word-break: break-all; } | ||
.blue { border-color: blue; } | ||
.orange { border-color: orange; } | ||
</style> | ||
<p>Test passes if the black box is identical to either the blue or the orange one. | ||
<div class="blue">aaaabb<br>bbbbbb<br>bbb<br>ccccc</div> | ||
<div>aaaabb<br>bbbbbb<br>bb<br>bccccc</div> | ||
<div class="orange">aaaabb<br>bbbbbb<br>bb<br>bccccc</div> |
9 changes: 0 additions & 9 deletions
9
css/css-text/word-break/reference/word-break-break-all-inline-006-ref.html
This file was deleted.
Oops, something went wrong.
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