Improve assertion and comments for overflow-wrap-anywhere-011.html and its reference. (#28630)
Fixed #28614.
diff --git a/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html b/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html
index d621c9e..25d7fc7 100644
--- a/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html
+++ b/css/css-text/overflow-wrap/overflow-wrap-anywhere-011-ref.html
@@ -7,6 +7,7 @@
<style>
div {
+ /* Use sans-serif fonts to ensure the width of ` ` is larger than `i`. */
font-family: Arial, Helvetica, sans-serif;
font-size: 100px;
width: min-content;
diff --git a/css/css-text/overflow-wrap/overflow-wrap-anywhere-011.html b/css/css-text/overflow-wrap/overflow-wrap-anywhere-011.html
index fa1beb8..0bc7a97 100644
--- a/css/css-text/overflow-wrap/overflow-wrap-anywhere-011.html
+++ b/css/css-text/overflow-wrap/overflow-wrap-anywhere-011.html
@@ -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 ` ` is larger than `i`. */
font-family: Arial, Helvetica, sans-serif;
font-size: 100px;
width: min-content;