Skip to content

Commit 70e11db

Browse files
committed
[css-text-3] Remove percentage word-spacing in preparation for redefining it. w3c#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</h3>
18801880

18811881
<pre class="propdef">
18821882
Name: word-spacing
1883-
Value: normal | <<length-percentage>>
1883+
Value: normal | <<length>>
18841884
Initial: normal
18851885
Applies to: <a>inline boxes</a>
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 <<length-percentage>> value
18891889
Animation type: by computed value type
18901890
Canonical order: n/a
@@ -1902,9 +1902,6 @@ Word Spacing: the 'word-spacing' property</h3>
19021902
<dt><dfn>&lt;length&gt;</dfn>
19031903
<dd>Specifies extra spacing <em>in addition to</em>
19041904
the intrinsic inter-word spacing defined by the font.
1905-
<dt><dfn>&lt;percentage&gt;</dfn>
1906-
<dd>Specifies the additional spacing as a percentage of the affected
1907-
character's advance width.
19081905
</dl>
19091906

19101907
<p>Additional spacing is applied to each <a>word separator</a>
@@ -1913,19 +1910,6 @@ Word Spacing: the 'word-spacing' property</h3>
19131910
unless otherwise dictated by typographic tradition.
19141911
Values may be negative, but there may be implementation-dependent limits.
19151912

1916-
<div class="example">
1917-
<p>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-
<pre>
1921-
:lang(ar) { word-spacing: -100%; }
1922-
:lang(en) { word-spacing: 100%; }</pre>
1923-
1924-
<p>The following example will <em>add</em> half the the width of the
1925-
&ldquo;0&rdquo; glyph to word spacing character [[CSS-VALUES-3]]:
1926-
<pre>p { word-spacing: 0.5ch; }</pre>
1927-
</div>
1928-
19291913
<p><dfn id="word-separator" lt="word-separator character | word separator">Word-separator characters</dfn>
19301914
are <a>typographic character units</a> whose purpose and general usage is to separate words.
19311915
In [[UNICODE]] this includes

0 commit comments

Comments
 (0)