Skip to content

Commit

Permalink
[css-text-4] Do not apply ideograph-alpha/ideograph-numeric spacing t…
Browse files Browse the repository at this point in the history
…o non-zero margin/border/padding w3c#6950
  • Loading branch information
fantasai committed Dec 30, 2022
1 parent 8606b95 commit aa252b9
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions css-text-4/Overview.bs
Expand Up @@ -8107,12 +8107,14 @@ Character Class Spacing: the 'text-spacing' property</h3>
<dt><dfn>ideograph-alpha</dfn>
<dd>
Creates extra spacing between runs of
<a>ideographs</a> and <a>non-ideographic letters</a>.
<a>ideographs</a> and <a>non-ideographic letters</a>,
see [[#inter-script-spacing]].

<dt><dfn>ideograph-numeric</dfn>
<dd>
Creates extra spacing between runs of
<a>ideographs</a> and <a>non-ideographic numerals</a> glyphs.
<a>ideographs</a> and <a>non-ideographic numerals</a>,
see [[#inter-script-spacing]].

<dt><dfn>punctuation</dfn>
<dd>
Expand All @@ -8128,12 +8130,6 @@ Character Class Spacing: the 'text-spacing' property</h3>
<a href="https://github.com/w3c/csswg-drafts/issues/318">Issue 318</a>
</dl>

Note: A commonly used algorithm for ''ideograph-alpha'' and ''ideograph-numeric''
is specified in [[JLREQ]].
Spacing conventions vary, but values typically range from 1/4em to as low as 1/8em,
with 1/4em being particularly common in monospace contexts
and 1/6em being more common in proportional typesetting.

This property is additive with the 'word-spacing' and 'letter-spacing' properties.
That is, the amount of spacing contributed by the 'letter-spacing' setting (if any)
is added to the spacing created by 'text-spacing'.
Expand All @@ -8153,6 +8149,19 @@ Character Class Spacing: the 'text-spacing' property</h3>

Issue: It was requested to add a value for doubling the space after periods.

<h4 id="inter-script-spacing">
Inter-script Spacing</h4>

The ''ideograph-alpha'' and ''ideograph-numeric'' values
introduce spacing at the boundary between particular classes of characters
when they are directly adjoining on a line,
i.e. without any intervening non-zero [=margin=], [=border=], or [=padding=]
or intervening characters (such as a quotation mark or a space).

Note: Spacing conventions vary, but values typically range from 1/4ic to as low as 1/8ic,
with 1/4ic being particularly common in monospace contexts
and 1/6ic being more common in proportional typesetting.

<h4 id="fullwidth-collapsing">
Fullwidth Punctuation Collapsing</h4>

Expand Down

0 comments on commit aa252b9

Please sign in to comment.