Skip to content

Commit 98a0e3f

Browse files
committed
[css-text-4] Improve wording of preserve-auto
1 parent 2740845 commit 98a0e3f

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

css-text-4/Overview.bs

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,11 @@ White Space Collapsing: the 'text-space-collapse' property</h3>
6969
<dt><dfn>preserve-auto</dfn>
7070
<dd>
7171
This value preserves white space and <a>segment breaks</a> as for ''preserve''.
72-
However, the UA <em>may</em> visually collapse
72+
However, in order to match platform conventions for editable text fields,
73+
the UA <em>may</em> visually collapse
7374
the advance widths of preserved white space
74-
that occur at the end of a line.
75-
76-
If 'text-wrap' is ''text-wrap/normal'' or ''text-wrap/balance'',
77-
whether or not there are soft wrap opportunities
78-
in preserved sequences of white space,
79-
and if yes where and under what condition,
80-
is UA defined.
81-
82-
Both with regards to collapsing
83-
and to soft wrap opportunities,
84-
the UA should follow platform conventions.
75+
that occurs at the end of a line,
76+
and is not required to honor soft wrap opportunities between such spaces.
8577

8678
<dt><dfn>preserve-trim</dfn>
8779
<dd>
@@ -94,7 +86,9 @@ White Space Collapsing: the 'text-space-collapse' property</h3>
9486

9587
Issue: The CSSWG would appreciate feedback
9688
on the use cases for this value,
97-
to evaluate whether trimming leading spaces
89+
to evaluate whether
90+
this value is needed at all
91+
and if so, if trimming leading spaces
9892
could be needed as well.
9993

10094
<dt><dfn>preserve-breaks</dfn>

0 commit comments

Comments
 (0)