Skip to content

Commit 9a4aef0

Browse files
committed
[css-text] Correct replaced element linebreaking behavior to be like ideographics, with nbsp exception, per WG resolution https://lists.w3.org/Archives/Public/www-style/2015Mar/0187.html
1 parent 9560916 commit 9a4aef0

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

css-text/Overview.bs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -905,12 +905,10 @@ Line Breaking Details</h3>
905905
<li>Out-of-flow elements do not introduce a <a>forced line break</a>
906906
or <a>soft wrap opportunity</a> in the flow.
907907
<li>The line breaking behavior of a replaced element or other atomic inline
908-
is equivalent to that of the Object Replacement Character (U+FFFC)
909-
and introduces a <a>soft wrap opportunity</a> both before and after itself.
910-
For Web-compatibility, this rule take precedence over <code>WJ</code> and <code>GL</code> handling;
911-
in terms of [[!UAX14]],
912-
this shifts the <code>CB</code> rule (<a href="http://www.unicode.org/reports/tr14/#LB20"><code>LB20</code></a>)
913-
immediately above the <code>WJ</code> and <code>GL</code> rules (<a href="http://www.unicode.org/reports/tr14/#LB11"><code>LB11</code></a>/<a href="http://www.unicode.org/reports/tr14/#LB12"><code>LB12</code></a>).
908+
is equivalent to an ideographic character
909+
(Unicode linebreaking class <code>ID</code> [[!UAX14]]),
910+
and additionally, for Web-compatibility, introduces a <a>soft wrap opportunity</a>
911+
between itself and any adjacent U+00A0 NO-BREAK SPACE character.
914912
<li>For <a>soft wrap opportunities</a> created by characters that disappear at the line break (e.g. U+0020 SPACE),
915913
properties on the element containing that character control the line breaking at that opportunity.
916914
For <a>soft wrap opportunities</a> defined by the boundary between two characters,

0 commit comments

Comments
 (0)