Skip to content

Commit 531871b

Browse files
committed
[css-text-4][editorial] Reorder dfns and fix wording
1 parent 9c34dbe commit 531871b

1 file changed

Lines changed: 20 additions & 19 deletions

File tree

css-text-4/Overview.bs

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10535,25 +10535,6 @@ Automatic Contextual Spacing: the 'text-autospace' property</h3>
1053510535
text-autospace/text-autospace-mixed-001.html
1053610536
</wpt>
1053710537

10538-
<dt><dfn>insert</dfn>
10539-
<dd>
10540-
The specified spacing is automatically inserted
10541-
if there are no space characters of any kind ([=Unicode general category=] <code>Z</code>) already there.
10542-
10543-
If neither ''text-autospace/insert'' nor ''text-autospace/replace'' are specified,
10544-
the behavior is the same as ''text-autospace/insert''.
10545-
10546-
<dt><dfn>replace</dfn>
10547-
<dd>
10548-
The specified spacing is automatically inserted
10549-
even if there is already a [=space=] (U+0020) at that point;
10550-
additionally, the [=space=] (U+0020) is removed.
10551-
Other types of space characters ([=Unicode general category=] <code>Z</code>)
10552-
suppress automatic spacing, as for ''text-autospace/insert''.
10553-
10554-
Note: This is for correcting text which is using the easy-to-type U+0020
10555-
instead of proper spacing.
10556-
1055710538
<dt><dfn>ideograph-alpha</dfn>
1055810539
<dd>
1055910540
Creates extra spacing between runs of
@@ -10580,6 +10561,26 @@ Automatic Contextual Spacing: the 'text-autospace' property</h3>
1058010561
Otherwise this value has no effect.
1058110562
However future specifications may add automatic spacing behavior for other languages.
1058210563

10564+
<dt><dfn>insert</dfn>
10565+
<dd>
10566+
The specified spacing is automatically inserted
10567+
if there are no space characters of any kind ([=Unicode general category=] <code>Z</code>) already there.
10568+
10569+
This is the default behavior:
10570+
if neither ''text-autospace/insert'' nor ''text-autospace/replace'' are specified,
10571+
''text-autospace/insert'' is assumed.
10572+
10573+
<dt><dfn>replace</dfn>
10574+
<dd>
10575+
The specified spacing is automatically inserted
10576+
even if there is already a [=space=] (U+0020) at that point;
10577+
additionally, the [=space=] (U+0020) is removed.
10578+
Other types of space characters ([=Unicode general category=] <code>Z</code>)
10579+
suppress automatic spacing, as for ''text-autospace/insert''.
10580+
10581+
Note: This is for correcting text which is using the easy-to-type U+0020
10582+
instead of proper spacing.
10583+
1058310584
<dt><dfn>auto</dfn>
1058410585
<dd>
1058510586
The user agent chooses a set of typographically high quality spacing values.

0 commit comments

Comments
 (0)