Skip to content

Commit 24fe0fe

Browse files
committed
[css-text-4] Typos
1 parent 13a654c commit 24fe0fe

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

css-text-4/Overview.bs

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Editor: fantasai, Invited Expert, http://fantasai.inkedblade.net/contact
1111
Editor: Koji Ishii, Invited Expert, kojiishi@gluesoft.co.jp
1212
Editor: Alan Stearns, Adobe Systems, stearns@adobe.com
1313
Abstract: This module defines properties for text manipulation and specifies their processing model. It covers line breaking, justification and alignment, white space handling, and text transformation.
14+
Ignored terms: segment break, segment breaks
1415
</pre>
1516

1617
<h2 id="intro">
@@ -62,25 +63,26 @@ White Space Collapsing: the 'text-space-collapse' property</h3>
6263
<dd>
6364
This value prevents user agents
6465
from collapsing sequences of white space.
65-
Line feeds are preserved as forced line breaks.
66+
<a>Segment breaks</a> are preserved as forced line breaks.
6667

6768
<dt><dfn>preserve-breaks</dfn>
6869
<dd>
6970
This value collapses white space as for ''collapse'', but preserves
70-
line feeds as forced line breaks.
71+
<a>segment breaks</a> as forced line breaks.
7172

7273
<dt><dfn>preserve-spaces</dfn>
7374
<dd>
7475
This value prevents user agents
7576
from collapsing sequences of white space,
76-
and converts tabs and line feeds to spaces.
77+
and converts tabs and <a>segment breaks</a> to spaces.
7778
(This value is intended to match the behavior
78-
of xml:space="preserve" in SVG)
79+
of <code>xml:space="preserve"</code> in SVG.)
7980

8081
<dt><dfn>discard</dfn>
8182
<dd>
82-
This value directs user agents to "discard" all white space in the
83-
element.
83+
This value directs user agents to “discard”
84+
all white space in the element.
85+
8486
Issue: Does this preserve line break opportunities or no? Do we need a "hide" value?
8587
</dl>
8688

@@ -124,10 +126,10 @@ White Space Trimming: the 'text-space-trim' property</h3>
124126
<dt><dfn>trim-inner</dfn>
125127
<dd>
126128
For block containers this value directs UAs to discard all whitespace
127-
at the beginning of the element up to and including the last line feed
129+
at the beginning of the element up to and including the last <a>segment break</a>
128130
before the first non-white-space character in the element as well as
129131
to discard all white space at the end of the element starting with the
130-
first line feed after the last non-white-space character in the element.
132+
first <a>segment break</a> after the last non-white-space character in the element.
131133
For other elements this value directs UAs to discard all whitespace
132134
at the beginning and end of the element.
133135

@@ -265,7 +267,7 @@ Inline breaks between boxes: the 'wrap-before'/'wrap-after' properties</h3>
265267
</pre>
266268

267269
These properties specify modifications to break opportunities
268-
in line and flex line breaking
270+
in line breaking (and <a>flex line</a> breaking [[CSS3-FLEXBOX]]).
269271
Possible values:
270272

271273
<dl dfn-for="wrap-before, wrap-after" dfn-type=value>
@@ -277,7 +279,7 @@ Inline breaks between boxes: the 'wrap-before'/'wrap-after' properties</h3>
277279

278280
<dt><dfn>avoid</dfn>
279281
<dd>
280-
Flex and line breaking is suppressed before/after the element:
282+
Line breaking is suppressed before/after the element:
281283
the UA may only break before/after the element
282284
if there are no other valid break points
283285
in the line.
@@ -423,7 +425,7 @@ Last Line Minimum Length</h2>
423425
<h2 id="white-space-property">
424426
Shorthand for White Space and Wrapping: the 'white-space' property</h2>
425427

426-
Diff needs to have the shorthand details
428+
Issue: Diff needs to have the shorthand details
427429

428430
<h2 id="hyphenation">
429431
Breaking Within Words</h2>

0 commit comments

Comments
 (0)