File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -716,17 +716,19 @@ Languages and Typesetting</h4>
716716
717717 <pre class="propdef">
718718 Name : tab-size
719- Value : <<integer >> | <<length>>
719+ Value : <<number >> | <<length>>
720720 Initial : 8
721721 Applies to : block containers
722722 Inherited : yes
723723 Computed value : the specified integer or length made absolute
724- Animation type : <a href="https://drafts.csswg.org/css-transitions-1/#animtype-length">length</a>
724+ Animation type : <a href="http://www.w3.org/TR/css-transitions-1/#animtype-length">length</a>,
725+ <a href="http://www.w3.org/TR/css-transitions-1/#animtype-number">number</a>, or calc
725726 Canonical order : n/a
726727 </pre>
727728
728729 <p> This property determines the tab size used to render preserved tab characters (U+0009).
729- Integers represent the measure as multiples of the space character's advance width (U+0020).
730+ A <<number>> represents the measure as a multiple of the space character's advance width (U+0020)
731+ plus the associated 'letter-spacing' and 'word-spacing' .
730732 Negative values are not allowed.
731733
732734<h2 id="line-breaking">
@@ -2321,6 +2323,8 @@ Changes</h2>
23212323 2013 CSS3 Text <abbr title="Last Call Working Draft">LCWD</abbr></a></h3>
23222324
23232325 <ul>
2326+ <li> Switched 'tab-size' to use <<number>> so that it is animatable,
2327+ and defined it to also account for 'letter-spacing' and 'word-spacing' .
23242328 <li> Made 'text-align' a shorthand of 'text-align-last' and the new 'text-align-all' property.
23252329 <li> Removed dependence of 'text-align-last' on ''text-align: justify'' ,
23262330 since the problem it solves is now solved by the shorthanding relationship.
You can’t perform that action at this time.
0 commit comments