Skip to content

Commit 73ef381

Browse files
committed
Move examples above boring stuff in text-combine.
1 parent 394b9e3 commit 73ef381

2 files changed

Lines changed: 67 additions & 67 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3092,41 +3092,6 @@ <h3 id=text-combine-horizontal><span class=secno>9.1. </span>
30923092
and &lsquo;<code class=css>none</code>&rsquo; are marked at-risk. Which
30933093
ones should we take to CR?
30943094

3095-
<p>When combining text as for &lsquo;<code
3096-
class=css>text-combine-horizontal: all</code>&rsquo;, the glyphs of the
3097-
combined text are stacked horizontally (without line breaks,
3098-
letter-spacing, etc., but using the specified font settings), similar to
3099-
the contents of an inline-box with a horizontal writing mode and a
3100-
line-height of 1em. The effective size of the composition is assumed to be
3101-
1em square; anything outside the square is not measured for layout
3102-
purposes. The UA should center the glyphs horizontally and vertically
3103-
within the measured 1em square. The baseline of the resulting composition
3104-
chosen such that the square is centered between the text-over and
3105-
text-under baselines of its parent inline box prior to any baseline
3106-
alignment shift. For text layout purposes, e.g. bidi ordering,
3107-
line-breaking, emphasis marks, text-decoration, etc. the resulting
3108-
composition is treated as a single glyph representing the Object
3109-
Replacement Character U+FFFC.
3110-
3111-
<p>In some fonts, the ideographic glyphs are given a compressed design such
3112-
that they are 1em wide but shorter than 1em tall. To accommodate such
3113-
fonts, the UA may vertically scale the contents of the composition to
3114-
match the advance height of 水 U+6C34.
3115-
<!-- 水 U+6C34 was chosen because it is a very basic character common to
3116-
all Han-based scripts, so would have to appear in any usable ideographic
3117-
font; and its shape is very full in both dimensions, so it would be
3118-
unlikely to be shortened in a proportional font -->
3119-
3120-
3121-
<p>The automatic text combinations are determined before &lsquo;<code
3122-
class=property>text-transform</code>&rsquo; is applied. Any CSS fullwidth
3123-
transformations (&lsquo;<code class=css>text-transform:
3124-
full-width</code>&rsquo; <a href="#CSS3TEXT"
3125-
rel=biblioentry>[CSS3TEXT]<!--{{CSS3TEXT}}--></a> or &lsquo;<code
3126-
class=css>font-variant-east-asian-width: full-width</code>&rsquo; <a
3127-
href="#CSS3FONT" rel=biblioentry>[CSS3FONT]<!--{{CSS3FONT}}--></a>) are
3128-
turned off for combined text of more than one character.
3129-
31303095
<div class=example>
31313096
<p>In East Asian documents, the &lsquo;<a
31323097
href="#text-combine-horizontal0"><code
@@ -3176,6 +3141,41 @@ <h3 id=text-combine-horizontal><span class=secno>9.1. </span>
31763141
</div>
31773142
</div>
31783143

3144+
<p>When combining text as for &lsquo;<code
3145+
class=css>text-combine-horizontal: all</code>&rsquo;, the glyphs of the
3146+
combined text are stacked horizontally (without line breaks,
3147+
letter-spacing, etc., but using the specified font settings), similar to
3148+
the contents of an inline-box with a horizontal writing mode and a
3149+
line-height of 1em. The effective size of the composition is assumed to be
3150+
1em square; anything outside the square is not measured for layout
3151+
purposes. The UA should center the glyphs horizontally and vertically
3152+
within the measured 1em square. The baseline of the resulting composition
3153+
chosen such that the square is centered between the text-over and
3154+
text-under baselines of its parent inline box prior to any baseline
3155+
alignment shift. For text layout purposes, e.g. bidi ordering,
3156+
line-breaking, emphasis marks, text-decoration, etc. the resulting
3157+
composition is treated as a single glyph representing the Object
3158+
Replacement Character U+FFFC.
3159+
3160+
<p>In some fonts, the ideographic glyphs are given a compressed design such
3161+
that they are 1em wide but shorter than 1em tall. To accommodate such
3162+
fonts, the UA may vertically scale the contents of the composition to
3163+
match the advance height of 水 U+6C34.
3164+
<!-- 水 U+6C34 was chosen because it is a very basic character common to
3165+
all Han-based scripts, so would have to appear in any usable ideographic
3166+
font; and its shape is very full in both dimensions, so it would be
3167+
unlikely to be shortened in a proportional font -->
3168+
3169+
3170+
<p>The automatic text combinations are determined before &lsquo;<code
3171+
class=property>text-transform</code>&rsquo; is applied. Any CSS fullwidth
3172+
transformations (&lsquo;<code class=css>text-transform:
3173+
full-width</code>&rsquo; <a href="#CSS3TEXT"
3174+
rel=biblioentry>[CSS3TEXT]<!--{{CSS3TEXT}}--></a> or &lsquo;<code
3175+
class=css>font-variant-east-asian-width: full-width</code>&rsquo; <a
3176+
href="#CSS3FONT" rel=biblioentry>[CSS3FONT]<!--{{CSS3FONT}}--></a>) are
3177+
turned off for combined text of more than one character.
3178+
31793179
<h3 id=text-combine-mode><span class=secno>9.2. </span>
31803180
Horizontal-in-Vertical Glyph Scaling: the &lsquo;<a
31813181
href="#text-combine-mode0"><code

css3-writing-modes/Overview.src.html

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2280,38 +2280,6 @@ <h3 id="text-combine-horizontal">
22802280
<p class="issue">All values except ''all'' and ''none'' are marked at-risk.
22812281
Which ones should we take to CR?</p>
22822282

2283-
<p>When combining text as for ''text-combine-horizontal: all'', the
2284-
glyphs of the combined text are stacked horizontally (without line
2285-
breaks, letter-spacing, etc., but using the specified font settings),
2286-
similar to the contents of an inline-box with a horizontal writing
2287-
mode and a line-height of 1em. The effective size of the composition
2288-
is assumed to be 1em square; anything outside the square is not
2289-
measured for layout purposes. The UA should center the glyphs
2290-
horizontally and vertically within the measured 1em square.
2291-
The baseline of the resulting composition chosen such that the
2292-
square is centered between the text-over and text-under baselines
2293-
of its parent inline box prior to any baseline alignment shift.
2294-
For text layout purposes,
2295-
e.g. bidi ordering, line-breaking, emphasis marks, text-decoration,
2296-
etc. the resulting composition is treated as a single glyph
2297-
representing the Object Replacement Character U+FFFC.
2298-
2299-
<p>In some fonts, the ideographic glyphs are given a compressed design
2300-
such that they are 1em wide but shorter than 1em tall. To accommodate
2301-
such fonts, the UA may vertically scale the contents of the composition
2302-
to match the advance height of 水 U+6C34.
2303-
<!-- 水 U+6C34 was chosen because it is a very basic character common to
2304-
all Han-based scripts, so would have to appear in any usable ideographic
2305-
font; and its shape is very full in both dimensions, so it would be
2306-
unlikely to be shortened in a proportional font -->
2307-
2308-
<p>The automatic text combinations are determined before 'text-transform' is
2309-
applied.
2310-
Any CSS fullwidth transformations
2311-
(''text-transform: full-width'' [[CSS3TEXT]] or
2312-
''font-variant-east-asian-width: full-width'' [[CSS3FONT]])
2313-
are turned off for combined text of more than one character.
2314-
23152283
<div class="example">
23162284
<p>In East Asian documents, the ''text-combine-horizontal'' effect is often
23172285
used to display Latin-based strings such as components of a date or
@@ -2351,6 +2319,38 @@ <h3 id="text-combine-horizontal">
23512319
</div>
23522320
</div>
23532321

2322+
<p>When combining text as for ''text-combine-horizontal: all'', the
2323+
glyphs of the combined text are stacked horizontally (without line
2324+
breaks, letter-spacing, etc., but using the specified font settings),
2325+
similar to the contents of an inline-box with a horizontal writing
2326+
mode and a line-height of 1em. The effective size of the composition
2327+
is assumed to be 1em square; anything outside the square is not
2328+
measured for layout purposes. The UA should center the glyphs
2329+
horizontally and vertically within the measured 1em square.
2330+
The baseline of the resulting composition chosen such that the
2331+
square is centered between the text-over and text-under baselines
2332+
of its parent inline box prior to any baseline alignment shift.
2333+
For text layout purposes,
2334+
e.g. bidi ordering, line-breaking, emphasis marks, text-decoration,
2335+
etc. the resulting composition is treated as a single glyph
2336+
representing the Object Replacement Character U+FFFC.
2337+
2338+
<p>In some fonts, the ideographic glyphs are given a compressed design
2339+
such that they are 1em wide but shorter than 1em tall. To accommodate
2340+
such fonts, the UA may vertically scale the contents of the composition
2341+
to match the advance height of 水 U+6C34.
2342+
<!-- 水 U+6C34 was chosen because it is a very basic character common to
2343+
all Han-based scripts, so would have to appear in any usable ideographic
2344+
font; and its shape is very full in both dimensions, so it would be
2345+
unlikely to be shortened in a proportional font -->
2346+
2347+
<p>The automatic text combinations are determined before 'text-transform' is
2348+
applied.
2349+
Any CSS fullwidth transformations
2350+
(''text-transform: full-width'' [[CSS3TEXT]] or
2351+
''font-variant-east-asian-width: full-width'' [[CSS3FONT]])
2352+
are turned off for combined text of more than one character.
2353+
23542354
<h3 id="text-combine-mode">
23552355
Horizontal-in-Vertical Glyph Scaling: the 'text-combine-mode' property</h3>
23562356

0 commit comments

Comments
 (0)