Skip to content

Commit e219548

Browse files
committed
[css-text] Add rule for web-compatible atomic inline breaking. <http://dev.w3.org/csswg/css-text-3/issues-lc-2013#issue-4>
1 parent 758a711 commit e219548

2 files changed

Lines changed: 69 additions & 31 deletions

File tree

css-text/Overview.bs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,12 @@ Line Breaking Details</h3>
747747
<li>Out-of-flow elements do not introduce a <i>forced line break</i>
748748
or <i>soft wrap opportunity</i> in the flow.
749749
<li>The line breaking behavior of a replaced element or other atomic inline
750-
is equivalent to that of the Object Replacement Character (U+FFFC).
750+
is equivalent to that of the Object Replacement Character (U+FFFC)
751+
and introduces a <i>soft wrap opportunity</i> both before and after itself.
752+
For Web-compatibility, this rule take precedence over <code>WJ</code> and <code>GL</code> handling;
753+
in terms of [[!UAX14]],
754+
this shifts the <code>CB</code> rule (<a href="http://www.unicode.org/reports/tr14/#LB20"><code>LB20</code></a>)
755+
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>).
751756
<li>For <i>soft wrap opportunities</i> created by characters that disappear at the line break (e.g. U+0020 SPACE),
752757
properties on the element containing that character control the line breaking at that opportunity.
753758
For <i>soft wrap opportunities</i> defined by the boundary between two characters,

0 commit comments

Comments
 (0)