Skip to content

Commit 5f8de18

Browse files
committed
[css-text] Fix indentation
1 parent d25f7d7 commit 5f8de18

File tree

2 files changed

+60
-50
lines changed

2 files changed

+60
-50
lines changed

css-text-3/Overview.bs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ spec:css-fonts-4; type:property; text:font-feature-settings
105105
content: none;
106106
}
107107

108-
/* Displaying the output of text layout, particularly when
109-
line-breaking is being invoked, and thus having a
110-
visible width is good. */
108+
/* Displaying the output of text layout,
109+
particularly when line-breaking is being invoked,
110+
and thus having a visible width is good. */
111111
pre.output {
112112
margin: 1em;
113113
border: solid thin silver;
@@ -893,7 +893,7 @@ Mapping Rules</h4>
893893
in other languages,
894894
the usual mapping of &ldquo;I&rdquo; and &ldquo;i&rdquo; is required.
895895
This rule is thus conditionally defined in Unicode’s SpecialCasing.txt file.
896-
</div>
896+
</div>
897897

898898
<wpt pathprefix="/css/CSS2/text/">
899899
text-transform-bicameral-005.xht
@@ -1802,7 +1802,7 @@ Phase I: Collapsing and Transformation</h4>
18021802

18031803
<wpt>
18041804
<!-- to be moved/removed together with the segment break transformation text
1805-
white-space/seg-break-transformation-000.html
1805+
white-space/seg-break-transformation-000.html
18061806
-->
18071807
white-space/white-space-normal-011.html
18081808
white-space/white-space-nowrap-011.html
@@ -3064,7 +3064,7 @@ Line Breaking and Word Boundaries</h2>
30643064
</wpt>
30653065

30663066
While CSS does not fully define where [=soft wrap opportunities=] occur,
3067-
some controls are provided to distinguish common variations:
3067+
some controls are provided to distinguish common variations:
30683068

30693069
<ul>
30703070
<li>
@@ -6013,9 +6013,9 @@ Cursive Scripts</h4>
60136013
however the former will preserve the sense of stretching out the text.
60146014

60156015
<div class="example">
6016-
Below are some appropriate and inappropriate examples of spacing out Arabic text.
6016+
Below are some appropriate and inappropriate examples of spacing out Arabic text.
60176017

6018-
<table class="data">
6018+
<table class="data">
60196019
<thead>
60206020
<tr>
60216021
<td><img src="images/arabic-stretch-original.png" alt="">
@@ -6050,7 +6050,7 @@ Cursive Scripts</h4>
60506050
<th>
60516051
Applying 'letter-spacing' only between non-joined letters.
60526052
<em>This distorts typographic color and obfuscates word boundaries.</em>
6053-
</table>
6053+
</table>
60546054
</div>
60556055

60566056
Note: Proper cursive elongation or compression of a text
@@ -6427,7 +6427,7 @@ First Line Indentation: the 'text-indent' property</h3>
64276427
<dt><dfn>hanging</dfn>
64286428
<dd>
64296429
Inverts which lines are affected.
6430-
</dl>
6430+
</dl>
64316431

64326432
<div class="example">
64336433
<p>If 'text-align' is ''text-align/start'' and 'text-indent' is ''5em'' in
@@ -6610,7 +6610,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
66106610
Note: If there is not sufficient padding on the
66116611
block container, 'hanging-punctuation' can trigger overflow.</p>
66126612

6613-
Values have the following meanings:
6613+
Values have the following meanings:
66146614

66156615
<dl dfn-for=hanging-punctuation dfn-type=value>
66166616
<dt><dfn>none</dfn>
@@ -6676,7 +6676,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
66766676
<tr><td>U+FF64 <td>&#xFF64; <td>HALFWIDTH IDEOGRAPHIC COMMA
66776677
</table>
66786678

6679-
The UA may include other characters as appropriate.
6679+
The UA may include other characters as appropriate.
66806680

66816681
Note: The CSS Working Group would appreciate if UAs including
66826682
other characters would <a href="#sotd">inform the working group</a>
@@ -6994,8 +6994,8 @@ Scripts and Spacing</h2>
69946994

69956995
User agents should update this list
69966996
as they update their Unicode support
6997-
to handle as-yet-unencoded cursive scripts in future versions of Unicode,
6998-
and are encouraged to ask the CSSWG to update this spec accordingly.
6997+
to handle as-yet-unencoded cursive scripts in future versions of Unicode,
6998+
and are encouraged to ask the CSSWG to update this spec accordingly.
69996999

70007000
<h2 id="character-properties" class="no-num">
70017001
Appendix E:

css-text-4/Overview.bs

Lines changed: 46 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ spec:selectors-4; type:selector; text::lang()
9797
content: none;
9898
}
9999

100-
/* Displaying the output of text layout, particularly when
101-
line-breaking is being invoked, and thus having a
102-
visible width is good. */
100+
/* Displaying the output of text layout,
101+
particularly when line-breaking is being invoked,
102+
and thus having a visible width is good. */
103103
pre.output {
104104
margin: 1em;
105105
border: solid thin silver;
@@ -886,7 +886,7 @@ Mapping Rules</h4>
886886
in other languages,
887887
the usual mapping of &ldquo;I&rdquo; and &ldquo;i&rdquo; is required.
888888
This rule is thus conditionally defined in Unicode’s SpecialCasing.txt file.
889-
</div>
889+
</div>
890890

891891
<wpt pathprefix="css/CSS2/text/">
892892
text-transform-bicameral-005.xht
@@ -2736,7 +2736,7 @@ Phase I: Collapsing and Transformation</h4>
27362736

27372737
<wpt>
27382738
<!-- to be moved/removed together with the segment break transformation text
2739-
white-space/seg-break-transformation-000.html
2739+
white-space/seg-break-transformation-000.html
27402740
-->
27412741
white-space/white-space-normal-011.html
27422742
white-space/white-space-nowrap-011.html
@@ -3998,7 +3998,7 @@ Line Breaking and Word Boundaries</h2>
39983998
</wpt>
39993999

40004000
While CSS does not fully define where [=soft wrap opportunities=] occur,
4001-
some controls are provided to distinguish common variations:
4001+
some controls are provided to distinguish common variations:
40024002

40034003
<ul>
40044004
<li>
@@ -7160,24 +7160,34 @@ Aligning a block of text within its container: the 'text-group-align' property</
71607160

71617161
<dl dfn-for=text-group-align dfn-type=value>
71627162
<dt><dfn>none</dfn>
7163-
<dd>Text alignment happens normally: [=group alignment=] is not performed.
7163+
<dd>
7164+
Text alignment happens normally: [=group alignment=] is not performed.
71647165

71657166
<dt><dfn>start</dfn>
7166-
<dd>Inline-level content is [=group-aligned=] to the [=inline start=] side,
7167-
by padding the [=inline end=] side of each line box.
7167+
<dd>
7168+
Inline-level content is [=group-aligned=] to the [=inline start=] side,
7169+
by padding the [=inline end=] side of each line box.
7170+
71687171
<dt><dfn>end</dfn>
7169-
<dd>Inline-level content is [=group-aligned=] to the [=inline end=] side,
7170-
by padding the [=inline start=] side of each line box.
7172+
<dd>
7173+
Inline-level content is [=group-aligned=] to the [=inline end=] side,
7174+
by padding the [=inline start=] side of each line box.
7175+
71717176
<dt><dfn>left</dfn>
7172-
<dd>Inline-level content is [=group-aligned=] to the [=line-left=] side,
7173-
by padding the [=line-right=] side of each line box.
7177+
<dd>
7178+
Inline-level content is [=group-aligned=] to the [=line-left=] side,
7179+
by padding the [=line-right=] side of each line box.
7180+
71747181
<dt><dfn>right</dfn>
7175-
<dd>Inline-level content is [=group-aligned=] to the [=line-right=] side,
7176-
by padding the [=line-left=] side of each line box.
7182+
<dd>
7183+
Inline-level content is [=group-aligned=] to the [=line-right=] side,
7184+
by padding the [=line-left=] side of each line box.
7185+
71777186
<dt><dfn>center</dfn>
7178-
<dd>Inline-level content is [=group-aligned=] to the center,
7179-
by padding both sides of each line box,
7180-
half the spacing to each side.
7187+
<dd>
7188+
Inline-level content is [=group-aligned=] to the center,
7189+
by padding both sides of each line box,
7190+
half the spacing to each side.
71817191
</dl>
71827192

71837193

@@ -7750,9 +7760,9 @@ Cursive Scripts</h4>
77507760
however the former will preserve the sense of stretching out the text.
77517761

77527762
<div class="example">
7753-
Below are some appropriate and inappropriate examples of spacing out Arabic text.
7763+
Below are some appropriate and inappropriate examples of spacing out Arabic text.
77547764

7755-
<table class="data">
7765+
<table class="data">
77567766
<thead>
77577767
<tr>
77587768
<td><img src="images/arabic-stretch-original.png" alt="">
@@ -7787,7 +7797,7 @@ Cursive Scripts</h4>
77877797
<th>
77887798
Applying 'letter-spacing' only between non-joined letters.
77897799
<em>This distorts typographic color and obfuscates word boundaries.</em>
7790-
</table>
7800+
</table>
77917801
</div>
77927802

77937803
Note: Proper cursive elongation or compression of a text
@@ -8297,16 +8307,16 @@ Japanese Paragraph-start Conventions in CSS</h4>
82978307

82988308
<div class="figure">
82998309
<img src="images/opening-brackets-at-line-head.png"
8300-
width="646" height="360"
8301-
alt="The first scheme aligns opening brackets flush with the indent edge
8302-
on the first line and with the start edge of other lines.
8303-
The second scheme gives the opening bracket its full width,
8304-
so that it is effectively indented half an em from the indent edge
8305-
and from the start edge of other lines.
8306-
The third scheme aligns the opening brackets flush with the
8307-
start edge of lines, but hangs them inside the indent on the
8308-
first line (resulting in an effective half-em indent instead
8309-
of the full em for paragraphs that begin with an opening bracket).">
8310+
width="646" height="360"
8311+
alt="The first scheme aligns opening brackets flush with the indent edge
8312+
on the first line and with the start edge of other lines.
8313+
The second scheme gives the opening bracket its full width,
8314+
so that it is effectively indented half an em from the indent edge
8315+
and from the start edge of other lines.
8316+
The third scheme aligns the opening brackets flush with the
8317+
start edge of lines, but hangs them inside the indent on the
8318+
first line (resulting in an effective half-em indent instead
8319+
of the full em for paragraphs that begin with an opening bracket).">
83108320
<p class="caption">Positioning of opening brackets at line head [[JLREQ]]
83118321
</div>
83128322

@@ -8702,7 +8712,7 @@ First Line Indentation: the 'text-indent' property</h3>
87028712
<dt><dfn>hanging</dfn>
87038713
<dd>
87048714
Inverts which lines are affected.
8705-
</dl>
8715+
</dl>
87068716

87078717
<div class="example">
87088718
<p>If 'text-align' is ''text-align/start'' and 'text-indent' is ''5em'' in
@@ -8885,7 +8895,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
88858895
Note: If there is not sufficient padding on the
88868896
block container, 'hanging-punctuation' can trigger overflow.</p>
88878897

8888-
Values have the following meanings:
8898+
Values have the following meanings:
88898899

88908900
<dl dfn-for=hanging-punctuation dfn-type=value>
88918901
<dt><dfn>none</dfn>
@@ -8951,7 +8961,7 @@ Hanging Punctuation: the 'hanging-punctuation' property</h4>
89518961
<tr><td>U+FF64 <td>&#xFF64; <td>HALFWIDTH IDEOGRAPHIC COMMA
89528962
</table>
89538963

8954-
The UA may include other characters as appropriate.
8964+
The UA may include other characters as appropriate.
89558965

89568966
Note: The CSS Working Group would appreciate if UAs including
89578967
other characters would <a href="#sotd">inform the working group</a>
@@ -9273,8 +9283,8 @@ Scripts and Spacing</h2>
92739283

92749284
User agents should update this list
92759285
as they update their Unicode support
9276-
to handle as-yet-unencoded cursive scripts in future versions of Unicode,
9277-
and are encouraged to ask the CSSWG to update this spec accordingly.
9286+
to handle as-yet-unencoded cursive scripts in future versions of Unicode,
9287+
and are encouraged to ask the CSSWG to update this spec accordingly.
92789288

92799289
<h2 id="character-properties" class="no-num">
92809290
Appendix E:

0 commit comments

Comments
 (0)