Skip to content

Commit 6ca5c09

Browse files
committed
[editorial][css-text-4] Move paragraphs between the intro of two sections
The first two paragraph of the intro to #line-breaking become the introduction for #text-wrapping
1 parent 770d2ed commit 6ca5c09

File tree

1 file changed

+41
-31
lines changed

1 file changed

+41
-31
lines changed

css-text-4/Overview.bs

Lines changed: 41 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4101,8 +4101,37 @@ Tab Character Size: the 'tab-size' property</h3>
41014101
<h2 id="text-wrapping">
41024102
Text Wrapping</h2>
41034103

4104+
<wpt title="
4105+
Tests mostly not needed for this section:
4106+
these are definitions,
4107+
they get tested through their application,
4108+
not by themselves."></wpt>
4109+
4110+
When inline-level content is laid out into lines, it is broken across line boxes.
4111+
Such a break is called a <dfn export>line break</dfn>.
4112+
When a line is broken due to explicit line-breaking controls
4113+
(such as a <a>preserved</a> newline character),
4114+
or due to the start or end of a block,
4115+
it is a <dfn export>forced line break</dfn>.
4116+
When a line is broken due to content <dfn lt="wrapping|wrap">wrapping</dfn>
4117+
(i.e. when the UA creates unforced line breaks
4118+
in order to fit the content within the measure),
4119+
it is a <dfn>soft wrap break</dfn>.
4120+
The process of breaking inline-level content into lines is called <dfn export lt="line breaking process | line breaking">line breaking</dfn>.
4121+
4122+
Wrapping is only performed at an allowed break point,
4123+
called a <dfn export>soft wrap opportunity</dfn>.
4124+
When wrapping is enabled (see 'white-space'),
4125+
the UA must minimize the amount of content overflowing a line
4126+
by wrapping the line at a [=soft wrap opportunity=],
4127+
if one exists.
4128+
4129+
<wpt>
4130+
line-breaking/line-breaking-020.html
4131+
</wpt>
4132+
41044133
Where text is allowed to wrap is controlled
4105-
by the [[#line-breaking|line-breaking rules and controls]] above;
4134+
by the [[#line-breaking|line-breaking rules and controls]];
41064135
<em>whether</em> it is allowed to wrap
41074136
and how multiple [=soft wrap opportunities=] within a line are prioritized
41084137
is controlled
@@ -4111,7 +4140,7 @@ Text Wrapping</h2>
41114140
'wrap-before',
41124141
'wrap-after',
41134142
and
4114-
'wrap-inside' properties:
4143+
'wrap-inside' properties.
41154144

41164145
<h3 id="text-wrap">
41174146
Text Wrap Setting</h3>
@@ -5841,42 +5870,23 @@ Line Breaking Details</h3>
58415870
Line Breaking and Word Boundaries</h2>
58425871

58435872
<wpt title="
5844-
Tests mostly not needed for this section:
5845-
these are definitions,
5846-
they get tested through their application,
5847-
not by themselves.
5848-
5849-
Can be a good section
5873+
This section deals in generalities
5874+
rather than specific requirements.
5875+
Exhaustive coverage is neither practical
5876+
nor needed,
5877+
as more specific requirements
5878+
are made in different sections,
5879+
and can be tested there.
5880+
5881+
Nonetheless,
5882+
this can be a good section
58505883
to host tests for i18n requirements
58515884
not covered in detail by the spec.
58525885
58535886
Possible additions:
58545887
* tests for at least one language with line breaking based on orthographic syllable boundaries
58555888
* Basic line breaking tests for some languages mentioned: Javanese, Balinese, Yi"></wpt>
58565889

5857-
When inline-level content is laid out into lines, it is broken across line boxes.
5858-
Such a break is called a <dfn export>line break</dfn>.
5859-
When a line is broken due to explicit line-breaking controls
5860-
(such as a <a>preserved</a> newline character),
5861-
or due to the start or end of a block,
5862-
it is a <dfn export>forced line break</dfn>.
5863-
When a line is broken due to content <dfn lt="wrapping|wrap">wrapping</dfn>
5864-
(i.e. when the UA creates unforced line breaks
5865-
in order to fit the content within the measure),
5866-
it is a <dfn>soft wrap break</dfn>.
5867-
The process of breaking inline-level content into lines is called <dfn export lt="line breaking process | line breaking">line breaking</dfn>.
5868-
5869-
Wrapping is only performed at an allowed break point,
5870-
called a <dfn export>soft wrap opportunity</dfn>.
5871-
When wrapping is enabled (see 'white-space'),
5872-
the UA must minimize the amount of content overflowing a line
5873-
by wrapping the line at a [=soft wrap opportunity=],
5874-
if one exists.
5875-
5876-
<wpt>
5877-
line-breaking/line-breaking-020.html
5878-
</wpt>
5879-
58805890
In most writing systems,
58815891
in the absence of hyphenation a [=soft wrap opportunity=] occurs only at word boundaries.
58825892
Many such systems use [=spaces=] or punctuation to explicitly separate words,

0 commit comments

Comments
 (0)