Skip to content

Commit 3050d05

Browse files
committed
[css-text-4] Rename text-space-collapse back to white-space-collapse #879
1 parent 1ff4a74 commit 3050d05

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

css-text-4/Overview.bs

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,7 +1796,7 @@ White Space and Wrapping: the 'white-space' property
17961796
white-space-mixed-004.xht
17971797
17981798

1799-
This property is a shorthand for 'text-space-collapse', 'text-wrap', and 'text-space-trim'.
1799+
This property is a shorthand for 'white-space-collapse', 'text-wrap', and 'text-space-trim'.
18001800
It specifies two things:
18011801

18021802
    @@ -1815,34 +1815,34 @@ White Space and Wrapping: the 'white-space' property
    18151815
    18161816
    18171817
    'white-space'
    1818-
    'text-space-collapse'
    1818+
    'white-space-collapse'
    18191819
    'text-wrap'
    18201820
    'text-space-trim'
    18211821
    18221822
    18231823
    18241824
    ''white-space/normal''
    1825-
    ''text-space-collapse/collapse''
    1825+
    ''white-space-collapse/collapse''
    18261826
    ''text-wrap/wrap''
    18271827
    ''text-space-trim/none''
    18281828
    18291829
    ''pre''
    1830-
    ''text-space-collapse/preserve''
    1830+
    ''white-space-collapse/preserve''
    18311831
    ''text-wrap/nowrap''
    18321832
    ''text-space-trim/none''
    18331833
    18341834
    ''white-space/nowrap''
    1835-
    ''text-space-collapse/collapse''
    1835+
    ''white-space-collapse/collapse''
    18361836
    ''text-wrap/nowrap''
    18371837
    ''text-space-trim/none''
    18381838
    18391839
    ''pre-wrap''
    1840-
    ''text-space-collapse/preserve''
    1840+
    ''white-space-collapse/preserve''
    18411841
    ''text-wrap/wrap''
    18421842
    ''text-space-trim/none''
    18431843
    18441844
    ''pre-line''
    1845-
    ''text-space-collapse/preserve-breaks''
    1845+
    ''white-space-collapse/preserve-breaks''
    18461846
    ''text-wrap/wrap''
    18471847
    ''text-space-trim/none''
    18481848
    @@ -1851,7 +1851,7 @@ White Space and Wrapping: the 'white-space' property
    18511851
    ISSUE: Need a way to express ''break-spaces''.
    18521852

    18531853
    ISSUE: The following is the normative definition from Level 3;
    1854-
    once 'text-space-collapse' can accommodate ''break-spaces''
    1854+
    once 'white-space-collapse' can accommodate ''break-spaces''
    18551855
    and [[#white-space-rules]] is updated
    18561856
    (assumming we still want to go in this direction),
    18571857
    this text should be merged into its longhands’ definitions.
    @@ -2510,14 +2510,14 @@ White Space Processing & Control Characters
    25102510
    when encoded using an escape sequence (
).
    25112511

    25122512

    2513-
    White Space Collapsing: the 'text-space-collapse' property
    2513+
    White Space Collapsing: the 'white-space-collapse' property
    25142514

    25152515
    ISSUE: This section is still under discussion and may change in future drafts.
    25162516
    It also hasn't been properly updated to account for the newer values of 'white-space',
    25172517
    and has not been integrated into the white space processing rules (below).
    25182518

    25192519
    2520-
    Name: text-space-collapse
    2520+
    Name: white-space-collapse
    25212521
    Value: collapse | discard | preserve | preserve-breaks | preserve-spaces
    25222522
    Initial: collapse
    25232523
    Applies to: text
    @@ -2533,7 +2533,7 @@ White Space Collapsing: the 'text-space-collapse' property
    25332533
    Values have the following meanings,
    25342534
    which must be interpreted according to the white space processing rules:
    25352535

    2536-
    text-space-collapse dfn-type=value>
    2536+
    white-space-collapse dfn-type=value>
    25372537
    collapse
    25382538
    25392539
    This value directs user agents to collapse sequences of white space
    @@ -2574,7 +2574,7 @@ White Space Collapsing: the 'text-space-collapse' property
    25742574
    25752575
    @namespace m "http://www.w3.org/1998/Math/MathML";
    25762576
    m|* {
    2577-
    text-space-collapse: discard;
    2577+
    white-space-collapse: discard;
    25782578
    }
    25792579
    m|mi, m|mn, m|mo, m|ms, m|mtext {
    25802580
    text-space-trim: discard-inner;
    @@ -9395,7 +9395,7 @@ Default UA Stylesheet
    93959395
    option { text-align: match-parent; }
    93969396

    93979397
    /* do not allow white space to collapse in textarea */
    9398-
    textarea { text-space-collapse: preserve !important; }
    9398+
    textarea { white-space-collapse: preserve !important; }
    93999399

    94009400
    /* preserve character grid in preformatted text */
    94019401
    pre, code, kbd, samp, tt { text-spacing: none; }
    @@ -10357,7 +10357,9 @@ Changes
    1035710357
    1035810358
    * Extended contextual characters evaluated in 'text-spacing'
    1035910359
    to include characters from the Pe and Ps categories.
    10360-
    10360+
    10361+
    * Renamed text-space-collapse back to 'white-space-collapse'.
    10362+
    1036110363

    1036210364
    Significant changes since the 5 May 2022 Working Draft include:
    1036310365
      @@ -10399,7 +10401,7 @@ Additions Since Level 3
      1039910401

      1040010402
      * 'word-boundary-detection', for automatically detecting word boundaries (at risk)
      1040110403
      * 'word-boundary-expansion', for transforming word separators
      10402-
      * 'text-space-collapse' longhand (of the longstanding 'white-space' property) and its ''preserve-spaces'' and ''text-space-collapse/discard'' values
      10404+
      * 'white-space-collapse' longhand (of the longstanding 'white-space' property) and its ''preserve-spaces'' and ''white-space-collapse/discard'' values
      1040310405
      * 'text-space-trim', for trimming excess white space at the boundaries of an element
      1040410406
      * 'text-wrap' longhand (of the 'white-space' property) and its ''balance'', ''stable'', and ''pretty'' values
      1040510407
      * 'wrap-before', 'wrap-after', and 'wrap-inside', to avoid or force wrapping (similar to the 'break-*' properties for pagination)

      0 commit comments

      Comments
       (0)