@@ -2209,30 +2209,28 @@ <h3 id="text-combine-horizontal">
22092209 Value: none | all | [ digits <integer> ? ]
22102210 Initial: none
22112211 Applies to: non-replaced inline elements
2212- Inherited: < a href =" http://lists.w3.org/Archives/Public/www-style/2013Jul/0154.html " class =" issue " > ??? </ a >
2212+ Inherited: yes
22132213 Percentages: n/a
22142214 Media: visual
22152215 Computed value: specified keyword, plus integer if ''digits''
22162216 Animatable: no
22172217 Canonical order: n/a
22182218 </ pre >
22192219
2220- < p > This property allows the combination of multiple characters into the
2221- space of a single character. This property only has an effect
2222- in vertical writing modes. Values have the following meanings:</ p >
2220+ < p > This property specifies the combination of multiple characters into the space of a single character.
2221+ If the combined text is wider than 1em, the UA must fit the contents within 1em, see below.
2222+ The resulting composition is treated as a single glyph for the purposes of layout and decoration.
2223+ This property only has an effect in vertical writing modes. Values have the following meanings:
22232224
22242225 < dl >
22252226 < dt > < dfn value for =text-combine-horizontal > none</ dfn >
22262227 < dd > No special processing.</ dd >
22272228
22282229 < dt > < dfn value for =text-combine-horizontal > all</ dfn >
22292230 < dd > In vertical writing modes,
2230- attempt to display the text contents of the element horizontally within the vertical line box.
2231- If the contents are wider than 1em, the UA must fit the contents within 1em, see below.
2232- The resulting composition is treated as a single glyph for the purposes
2233- of layout and decoration.
2234- If the content contains any element boundaries this is treated as
2235- ''text-combine-horizontal: none'' on the element and any descendants.
2231+ attempt to typeset all consecutive < i > characters</ i > within the element
2232+ horizontally within the vertical line box,
2233+ such that they take up the space of a single character.
22362234<!--
22372235 <dt><dfn value for=text-combine-horizontal>numeric</dfn>
22382236 <dd>Within the element, each sequence of consecutive horizontal numbers
@@ -2245,9 +2243,9 @@ <h3 id="text-combine-horizontal">
22452243-->
22462244 < dt > < dfn value for =text-combine-horizontal > digits < var > <integer> </ var > ?</ dfn >
22472245 < dd > Within the element, each maximal sequence of consecutive ASCII digits (U+0030–U+0039)
2248- that has as many or fewer characters than the integer given is treated
2249- as if it were in an anonymous inline box with
2250- ''text-combine-horizontal: all'' .
2246+ that has as many or fewer characters than the integer given
2247+ is typeset horizontally within the vertical line box,
2248+ such that it takes up the space of a single character .
22512249 When the integer is omitted, 2 is used.
22522250 Integers outside the range 2-4 are invalid.
22532251<!--
@@ -2314,6 +2312,30 @@ <h3 id="text-combine-horizontal">
23142312 < p class ="caption "> Example of mis-applied < i lang ="ja " title =''> tate-chu-yoko</ i > </ p >
23152313 </ div >
23162314 </ div >
2315+ <!--
2316+ <h4 id="text-combine-runs">
2317+ Text Run Rules</h4>
2318+
2319+ <p>This feature can only combine plain text,
2320+ therefore each combined text run must contain only text: no element boundaries.
2321+ Because the property inherits,
2322+ the UA must ensure that the contents of the element effecting the combination
2323+ are not part of a sequence of the specified character pattern
2324+ that happens to begin or end outside the element;
2325+ if so, then the text is laid out normally, as if 'text-combine-horizontal' were ''none''.
2326+
2327+ <div class="example">
2328+ <p>For example, the following sequence of “1234” would be combined:
2329+ <pre><tcy><span>1234</span></tcy></pre>
2330+ <p>However, the next example would not result in any combined text,
2331+ even though the inner span (which has inherited a value of ''digits 4'') contains only text,
2332+ because “12“ and “34” are both part of the larger sequence “1234”
2333+ <pre><tcy>12<span>34</span></tcy></pre>
2334+ <p>Similarly,
2335+ </div>
2336+ -->
2337+ < h4 id ="text-combine-compression ">
2338+ Compression Rules</ h4 >
23172339
23182340 < p > In order to preserve typographic color when compressing the text to 1em,
23192341 when the combined text consists of more than one < i > character</ i > ,
@@ -2469,9 +2491,9 @@ <h3 class="no-num" id="changes-201211">
24692491 2012 CSS Writing Modes Module Level 3 < abbr title ="Working Draft "> WD</ abbr > </ a > </ h3 >
24702492 < ul >
24712493 < li > Added back ''digits'' value of 'text-combine-horizontal' and tightened up rules for compressing text.
2494+ < li > Defined better analysis of text to be combined.
24722495 < li > Various fixes/clarifications to orthogonal flows.
24732496 < li > Updated references to UTR50 and how this specification use its values.
2474- < li > Removed interaction of 'text-combine-horizontal' and 'font-variant: full-width' and added a note instead.
24752497 </ ul >
24762498
24772499 < h3 class ="no-num " id ="changes-201205 ">
0 commit comments