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
Horizontal-in-Vertical Composition: the <spanclass=propertydata-link-type=propdesctitle=text-combine-horizontal>text-combine-horizontal</span> property</a><ulclass=toc><li><ahref=#text-combine-sequence><spanclass=secno>9.1.1</span>
Horizontal-in-Vertical Composition: the <spanclass=propertydata-link-type=propdesctitle=text-combine-horizontal>text-combine-horizontal</span> property</a><ulclass=toc><li><ahref=#text-combine-runs><spanclass=secno>9.1.1</span>
128
+
Text Run Rules</a><li><ahref=#text-combine-layout><spanclass=secno>9.1.2</span>
Text Run Rules</span><aclass=self-linkhref=#text-combine-runs></a></h4>
2328
2274
2329
2275
<p>To avoid complexity in the rendering and layout,
2330
-
<aclass=propertydata-link-type=propdeschref=#propdef-text-combine-horizontaltitle=text-combine-horizontal>text-combine-horizontal</a> only combines consecutive <adata-link-type=dfnhref=#charactertitle=characters>characters</a>
2331
-
that are not interrupted by an element boundary.
2332
-
Therefore the UA must evaluate for combination
2333
-
only uninterrupted runs of text.
2334
-
2335
-
<p>However, to avoid combining only part of a sequence,
2336
-
if the boundary of a run is due only to one or more inline element boundaries,
2276
+
<aclass=propertydata-link-type=propdeschref=#propdef-text-combine-horizontaltitle=text-combine-horizontal>text-combine-horizontal</a> can only combine plain text:
2277
+
consecutive <adata-link-type=dfnhref=#charactertitle=characters>characters</a> that are not interrupted by an element boundary.
2278
+
2279
+
<p>However, because the property inherits,
2280
+
the UA must ensure that the contents of the element effecting the combination
2281
+
are not part of an otherwise-combinable sequence
2282
+
that happens to begin or end outside the element;
2283
+
if so, then the text is laid out normally, as if <aclass=propertydata-link-type=propdeschref=#propdef-text-combine-horizontaltitle=text-combine-horizontal>text-combine-horizontal</a> were <aclass=cssdata-link-type=maybehref=#valuedef-nonetitle=none>none</a>.
2284
+
To avoid combining only part of a sequence:
2285
+
if the boundary of a potentially-combinable run
2286
+
is due only to one or more inline element boundaries,
2337
2287
the UA must inspect any <adata-link-type=dfnhref=#charactertitle=characters>characters</a> that appear
2338
-
immediately before and immediately after the run.
2339
-
If these characters would, without the intervening element,
2340
-
form a sequence that could (if it were not too long) combine,
2288
+
immediately before and immediately after the run,
2289
+
and if these characters would, without the intervening element,
2290
+
form a sequence that would (if it were not too long) combine,
2341
2291
then the candidate run does not combine.
2342
2292
2343
2293
<pclass=note>The above paragraph is at-risk. Comments from implementors are welcome.</p>
can potentially affect the selection of variants for characters included in combined text runs.
2466
2416
Authors are advised to use these properties with care when <aclass=propertydata-link-type=propdeschref=#propdef-text-combine-horizontaltitle=text-combine-horizontal>text-combine-horizontal</a> is also used.
2467
2417
2468
-
<!--
2469
-
<h3 id="text-combine-mode">
2470
-
Horizontal-in-Vertical Glyph Scaling: the 'text-combine-mode' property</h3>
0 commit comments