You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on a resolution from the 2015 New York face to face,
this makes sure that white spaces that fall at the end of the line
are preserved and allowed to wrap.
<p>If <aclass="property" data-link-type="propdesc" href="#propdef-white-space">white-space</a> is set to <aclass="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap">pre-wrap</a>, any sequence of
1275
-
spaces is treated as a sequence of non-breaking spaces. However,
1276
-
a <adata-link-type="dfn" href="#soft-wrap-opportunity">soft wrap opportunity</a> exists at the end of the sequence.</p>
1274
+
<p>If <aclass="property" data-link-type="propdesc" href="#propdef-white-space">white-space</a> is set to <aclass="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap">pre-wrap</a>,
1275
+
any sequence of spaces is preserved.
1276
+
This is achieved by treating it as a sequence of non-breaking spaces,
1277
+
except that a <adata-link-type="dfn" href="#soft-wrap-opportunity">soft wrap opportunity</a> exists
1278
+
between each of the spaces of this preserved sequence,
The tab size is given by the <aclass="property" data-link-type="propdesc" href="#propdef-tab-size">tab-size</a> property.
1403
1407
1404
1408
<li>A sequence of <adata-link-type="dfn" href="#collapsible-white-space">collapsible</a> spaces at the end of a line is removed.
1405
-
1406
-
<li>If spaces or tabs at the end of a line are non-collapsible but
1407
-
have <aclass="property" data-link-type="propdesc" href="#propdef-white-space">white-space</a> set to <aclass="css" data-link-type="maybe" href="#valdef-white-space-pre-wrap">pre-wrap</a> the UA may visually
0 commit comments