@@ -1734,7 +1734,7 @@ White Space and Wrapping: the 'white-space' property</h2>
17341734
17351735 <pre class="propdef">
17361736 Name : white-space
1737- Value : normal | pre | nowrap | pre-wrap | pre-line | <<'white-space-collapse'>> || <<'text-wrap'>> || <<'text -space-trim'>>
1737+ Value : normal | pre | nowrap | pre-wrap | pre-line | <<'white-space-collapse'>> || <<'text-wrap'>> || <<'white -space-trim'>>
17381738 Initial : normal
17391739 Applies to : text
17401740 Inherited : yes
@@ -1796,7 +1796,7 @@ White Space and Wrapping: the 'white-space' property</h2>
17961796 white-space-mixed-004.xht
17971797 </wpt>
17981798
1799- This property is a shorthand for 'white-space-collapse' , 'text-wrap' , and 'text -space-trim' .
1799+ This property is a shorthand for 'white-space-collapse' , 'text-wrap' , and 'white -space-trim' .
18001800 It specifies two things:
18011801
18021802 <ul>
@@ -1821,29 +1821,29 @@ White Space and Wrapping: the 'white-space' property</h2>
18211821 <th> 'white-space'
18221822 <th> 'white-space-collapse'
18231823 <th> 'text-wrap'
1824- <th> 'text -space-trim'
1824+ <th> 'white -space-trim'
18251825 </thead>
18261826 <tbody>
18271827 <tr>
18281828 <th> <dfn>normal</dfn>
18291829 <td> ''white-space-collapse/collapse''
18301830 <td> ''text-wrap/wrap''
1831- <td> ''text -space-trim/none''
1831+ <td> ''white -space-trim/none''
18321832 <tr>
18331833 <th> <dfn>pre</dfn>
18341834 <td> ''white-space-collapse/preserve''
18351835 <td> ''text-wrap/nowrap''
1836- <td> ''text -space-trim/none''
1836+ <td> ''white -space-trim/none''
18371837 <tr>
18381838 <th> <dfn>pre-wrap</dfn>
18391839 <td> ''white-space-collapse/preserve''
18401840 <td> ''text-wrap/wrap''
1841- <td> ''text -space-trim/none''
1841+ <td> ''white -space-trim/none''
18421842 <tr>
18431843 <th> <dfn>pre-line</dfn>
18441844 <td> ''white-space-collapse/preserve-breaks''
18451845 <td> ''text-wrap/wrap''
1846- <td> ''text -space-trim/none''
1846+ <td> ''white -space-trim/none''
18471847 </tbody>
18481848 </table>
18491849
@@ -2169,7 +2169,7 @@ White Space Processing & Control Characters</h2>
21692169 to control interpretation of such formatting:
21702170 to preserve or collapse it away when rendering the document.
21712171 White space processing in CSS
2172- (which is controlled with the 'white-space-collapse' and 'text -space-trim' properties)
2172+ (which is controlled with the 'white-space-collapse' and 'white -space-trim' properties)
21732173 interprets [=white space characters=] only for rendering:
21742174 it has no effect on the underlying document data.
21752175
@@ -2564,16 +2564,16 @@ White Space Collapsing: the 'white-space-collapse' property</h3>
25642564 white-space-collapse: discard;
25652565 }
25662566 m|mi, m|mn, m|mo, m|ms, m|mtext {
2567- text -space-trim: discard-inner;
2567+ white -space-trim: discard-inner;
25682568 }
25692569 </pre>
25702570 </div>
25712571
2572- <h3 id="white-space-trim">
2573- White Space Trimming: the 'text -space-trim' property</h3>
2572+ <h3 id="white-space-trim" oldids="text-space-trim" >
2573+ White Space Trimming: the 'white -space-trim' property</h3>
25742574
25752575 <pre class="propdef">
2576- Name : text -space-trim
2576+ Name : white -space-trim
25772577 Value : none | discard-inner || discard-before || discard-after
25782578 Initial : none
25792579 Applies to : [=inline boxes=] and [=block containers=]
@@ -2587,7 +2587,7 @@ White Space Trimming: the 'text-space-trim' property</h3>
25872587 at the beginning and end of a box.
25882588 Values have the following meanings:
25892589
2590- <dl dfn-for=text -space-trim dfn-type=value>
2590+ <dl dfn-for=white -space-trim dfn-type=value>
25912591 <dt> <dfn>discard-inner</dfn>
25922592 <dd>
25932593 For block containers this value directs UAs to discard
@@ -2613,11 +2613,11 @@ White Space Trimming: the 'text-space-trim' property</h3>
26132613 <p> The following style rules render DT elements as a comma-separated list:
26142614 <pre>
26152615 dt { display: inline; }
2616- dt + dt:before { content: ", "; text -space-trim: discard-before; }
2616+ dt + dt:before { content: ", "; white -space-trim: discard-before; }
26172617 </pre>
26182618 </div>
26192619
2620- White space processing for 'text -space-trim'
2620+ White space processing for 'white -space-trim'
26212621 takes place before [[#white-space-phase-1]] .
26222622
26232623<h3 id="white-space-rules">
@@ -2697,7 +2697,7 @@ Phase I: Collapsing and Transformation</h4>
26972697 This section has good test coverage,
26982698 all parts are well exercised."></wpt>
26992699
2700- Note: 'text -space-trim' is taken into account prior to this phase.
2700+ Note: 'white -space-trim' is taken into account prior to this phase.
27012701
27022702 For each inline
27032703 (including anonymous inlines;
@@ -9374,7 +9374,7 @@ Conversion to Plaintext</h2>
93749374 The 'text-transform' property has no effect.
93759375
93769376 <li>
9377- 'text -space-trim' and [[#white-space-phase-1]] is applied
9377+ 'white -space-trim' and [[#white-space-phase-1]] is applied
93789378 and any sequence of [=collapsible=] [=white space=]
93799379 at the beginning of a [=block=]
93809380 or immediately following a [=forced line break=]
@@ -10382,7 +10382,7 @@ Changes</h2>
1038210382 or to simply compute to ''text-justify/inter-character'' ;
1038310383 this allows UAs to do whichever is easier, since the distinction does not matter for backwards-compatibility.
1038410384 (<a href="https://github.com/w3c/csswg-drafts/issues/7322">Issue 7322</a> )
10385- <li> Renamed <css> trim-inner</css> value of 'text -space-trim' to ''discard-inner'' for consistency with other values.
10385+ <li> Renamed <css> trim-inner</css> value of 'white -space-trim' to ''discard-inner'' for consistency with other values.
1038610386 (<a href="https://github.com/w3c/csswg-drafts/issues/448">Issue 448</a> )
1038710387 </ul>
1038810388
@@ -10404,7 +10404,7 @@ Additions Since Level 3</h3>
1040410404 * 'word-boundary-detection' , for automatically detecting word boundaries (at risk)
1040510405 * 'word-boundary-expansion' , for transforming word separators
1040610406 * 'white-space-collapse' longhand (of the longstanding 'white-space' property) and its ''preserve-spaces'' and ''white-space-collapse/discard'' values
10407- * 'text -space-trim' , for trimming excess white space at the boundaries of an element
10407+ * 'white -space-trim' , for trimming excess white space at the boundaries of an element
1040810408 * 'text-wrap' longhand (of the 'white-space' property) and its ''balance'' , ''stable'' , and ''pretty'' values
1040910409 * 'wrap-before' , 'wrap-after' , and 'wrap-inside' , to avoid or force wrapping (similar to the 'break-*' properties for pagination)
1041010410 * 'hyphenate-character' , to explicitly control the hyphenation character
0 commit comments