Skip to content

Commit 70e11db

Browse files
committed
[css-text-3] Remove percentage word-spacing in preparation for redefining it. #2165
1 parent f96defb commit 70e11db

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

css-text-3/Overview.bs

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,11 +1880,11 @@ Word Spacing: the 'word-spacing' property
18801880

18811881
18821882
Name: word-spacing
1883-
Value: normal | <-percentage>>
1883+
Value: normal | <>
18841884
Initial: normal
18851885
Applies to: inline boxes
18861886
Inherited: yes
1887-
Percentages: refers to width of the affected glyph
1887+
Percentages: N/A
18881888
Computed value: the keyword ''word-spacing/normal'' or a computed <> value
18891889
Animation type: by computed value type
18901890
Canonical order: n/a
@@ -1902,9 +1902,6 @@ Word Spacing: the 'word-spacing' property
19021902
<length>
19031903
Specifies extra spacing in addition to
19041904
the intrinsic inter-word spacing defined by the font.
1905-
<percentage>
1906-
Specifies the additional spacing as a percentage of the affected
1907-
character's advance width.
19081905
19091906

19101907

Additional spacing is applied to each word separator

@@ -1913,19 +1910,6 @@ Word Spacing: the 'word-spacing' property
19131910
unless otherwise dictated by typographic tradition.
19141911
Values may be negative, but there may be implementation-dependent limits.
19151912

1916-
1917-

The following example will make all the spaces between words in Arabic

1918-
be rendered as zero-width, and double the width of each space in English:
1919-
1920-
1921-
:lang(ar) { word-spacing: -100%; }
1922-
:lang(en) { word-spacing: 100%; }
1923-
1924-

The following example will add half the the width of the

1925-
“0” glyph to word spacing character [[CSS-VALUES-3]]:
1926-
p { word-spacing: 0.5ch; }
1927-
1928-
19291913

Word-separator characters

19301914
are typographic character units whose purpose and general usage is to separate words.
19311915
In [[UNICODE]] this includes

0 commit comments

Comments
 (0)