Skip to content

Commit

Permalink
[css-text-4] Remove the explicit normal value for text-spacing
Browse files Browse the repository at this point in the history
Addition of 'normal' to text-spacing-trim means that it is no longer
necessary to define it in the shorthand explicitely. Just using the
longhand values in the shorthand will already give the same effect.

Part of #9511
  • Loading branch information
frivoal committed Dec 21, 2023
1 parent c749f96 commit e10cf02
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions css-text-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -10990,7 +10990,7 @@ Character Class Spacing Shorthand: the 'text-spacing' property</h3>
<pre class="propdef shorthand">
Name: text-spacing
Value: normal | none | auto | <<spacing-trim>> || <<autospace>>
Value: none | auto | <<spacing-trim>> || <<autospace>>
Initial: see individual properties
Applies to: text
Inherited: yes
Expand All @@ -11010,12 +11010,6 @@ Character Class Spacing Shorthand: the 'text-spacing' property</h3>
Values are defined as follows:
<dl dfn-for=text-spacing dfn-type=value>
<dt><dfn>normal</dfn>
<dd>
Specifies the baseline behavior,
setting each [=sub-property=] to its [=initial value=].
Equivalent to ''space-first ideograph-alpha ideograph-numeric''.
<dt><dfn>none</dfn>
<dd>
Turns off all text-spacing features:
Expand All @@ -11039,6 +11033,8 @@ Character Class Spacing Shorthand: the 'text-spacing' property</h3>
'text-spacing-trim' is set to its [=initial value=].
</dl>
Note: As ''text-spacing-trim/normal'' is the initial value of both 'text-spacing-trim' and 'text-autospace',
''text-spacing: normal'' resets both to their initial values.
<h3 id="boundary-shaping">
Shaping Across Element Boundaries</h3>
Expand Down

0 comments on commit e10cf02

Please sign in to comment.