Skip to content

Commit 05b67b9

Browse files
committed
[css-text-4] Rearrange list of text-spacing values.
1 parent 17b618a commit 05b67b9

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

css-text-4/Overview.bs

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1873,11 +1873,11 @@ Character Class Spacing: the 'text-spacing' property</h3>
18731873

18741874
<pre class="propdef">
18751875
Name: text-spacing
1876-
Value: normal | none | auto |
1876+
Value: normal | none | auto | no-compress ||
18771877
[ trim-start | space-start | space-first ] ||
18781878
[ trim-end | space-end | allow-end ] ||
18791879
[ trim-adjacent | space-adjacent ] ||
1880-
no-compress || ideograph-alpha || ideograph-numeric || punctuation
1880+
ideograph-alpha || ideograph-numeric || punctuation
18811881
Initial: normal
18821882
Applies to: block containers
18831883
Inherited: yes
@@ -1912,28 +1912,14 @@ Character Class Spacing: the 'text-spacing' property</h3>
19121912

19131913
Note: The behavior of ''auto'' might not be achievable with any combination of other values of 'text-spacing'.
19141914

1915-
<dt><dfn>ideograph-alpha</dfn>
1916-
<dd>
1917-
Creates extra spacing between runs of
1918-
<a>ideographs</a> and <a>non-ideographic letters</a>.
1919-
1920-
<dt><dfn>ideograph-numeric</dfn>
1921-
<dd>
1922-
Creates extra spacing between runs of
1923-
<a>ideographs</a> and <a>non-ideographic numerals</a> glyphs.
1924-
1925-
<dt><dfn>punctuation</dfn>
1915+
<dt><dfn>no-compress</dfn>
19261916
<dd>
1927-
Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions.
1928-
1929-
In this level, if the element's content language is French,
1930-
narrow no-break space (U+202F) and no-break space (U+00A0) is inserted
1931-
where required by <a href="http://unicode.org/udhr/n/notes_fra.html">French typographic guidelines</a>.
1932-
Otherwise this value has no effect.
1933-
However future specifications may add automatic spacing behavior for other languages.
1917+
Justification must not compress text-spacing.
1918+
(If this value is not specified, the justification process may reduce autospacing
1919+
except when the spacing is at the start or end of the line.)
19341920

1935-
ISSUE: Integrate rules for correcting incorrect spaces?
1936-
<a href="https://github.com/w3c/csswg-drafts/issues/318">Issue 318</a>
1921+
Note: An example of compression rules is given for Japanese
1922+
in 3.8 Line Adjustment in [[JLREQ]].
19371923

19381924
<dt><dfn>space-start</dfn>
19391925
<dd>
@@ -2022,14 +2008,28 @@ Character Class Spacing: the 'text-spacing' property</h3>
20222008
Collapse spacing between punctuation glyphs
20232009
<a href="#fullwidth-collapsing">as described below</a>.
20242010

2025-
<dt><dfn>no-compress</dfn>
2011+
<dt><dfn>ideograph-alpha</dfn>
20262012
<dd>
2027-
Justification may not compress text-spacing.
2028-
(If this value is not specified, the justification process may reduce autospacing
2029-
except when the spacing is at the start or end of the line.)
2013+
Creates extra spacing between runs of
2014+
<a>ideographs</a> and <a>non-ideographic letters</a>.
20302015

2031-
Note: An example of compression rules is given for Japanese
2032-
in 3.8 Line Adjustment in [[JLREQ]].
2016+
<dt><dfn>ideograph-numeric</dfn>
2017+
<dd>
2018+
Creates extra spacing between runs of
2019+
<a>ideographs</a> and <a>non-ideographic numerals</a> glyphs.
2020+
2021+
<dt><dfn>punctuation</dfn>
2022+
<dd>
2023+
Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions.
2024+
2025+
In this level, if the element's content language is French,
2026+
narrow no-break space (U+202F) and no-break space (U+00A0) is inserted
2027+
where required by <a href="http://unicode.org/udhr/n/notes_fra.html">French typographic guidelines</a>.
2028+
Otherwise this value has no effect.
2029+
However future specifications may add automatic spacing behavior for other languages.
2030+
2031+
ISSUE: Integrate rules for correcting incorrect spaces?
2032+
<a href="https://github.com/w3c/csswg-drafts/issues/318">Issue 318</a>
20332033
</dl>
20342034

20352035
Note: A commonly used algorithm for ''ideograph-alpha'' and ''ideograph-numeric''

0 commit comments

Comments
 (0)