Bug 1706711 [wpt PR 28630] - Improve assertion and comments for overflow-wrap-anywhere-011.html and its reference., a=testonly

Automatic update from web-platform-tests
Improve assertion and comments for overflow-wrap-anywhere-011.html and its reference. (#28630)

Fixed #28614.
--

wpt-commits: dd806aec5821cbe9f20019943e97538ccd1d445a
wpt-pr: 28630
This commit is contained in:
Ting-Yu Lin 2021-04-26 09:58:41 +00:00 committed by moz-wptsync-bot
parent b0b56d1c91
commit 82fa2174c7
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@
<style>
div {
/* Use sans-serif fonts to ensure the width of `&nbsp` is larger than `i`. */
font-family: Arial, Helvetica, sans-serif;
font-size: 100px;
width: min-content;

View File

@ -5,11 +5,13 @@
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-anywhere">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2">
<link rel="match" href="overflow-wrap-anywhere-011-ref.html">
<meta name="assert" content="End-of line space glyph (U+0020 and U+0009)'s width shouldn't contribute to container's min-content width with 'overflow-wrap: anywhere'">
<meta name="assert" content="End-of line space glyph (U+0020 and U+0009)'s width shouldn't contribute to container's min-content width with 'white-space: normal', and non-collapsible spaces should wrap with 'overflow-wrap: anywhere'.">
<style>
div {
/* Use sans-serif fonts to ensure the width of `&nbsp` is larger than `i`. */
font-family: Arial, Helvetica, sans-serif;
font-size: 100px;
width: min-content;