Skip to content

Commit 57e0908

Browse files
committed
1 parent 0afc334 commit 57e0908

4 files changed

Lines changed: 67 additions & 66 deletions

File tree

css-module/Overview.src.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,11 @@ <h2 class="no-num no-toc">[LONGSTATUS] [DATE]</h2>
7373

7474
<h2 class="no-num no-toc" id="abstract">Abstract</h2>
7575

76-
<p><a href="http://www.w3.org/TR/CSS/">CSS</a> is a language for describing
77-
the rendering of structured documents (such as HTML and XML) on screen, on
78-
paper, in speech, etc. This module contains the features of CSS relating to
76+
<p>This module contains the features of CSS relating to
7977
<var class="replaceme">DESCRIBE HERE</var>.
80-
It includes and extends the functionality of <var class="replaceme">CSS level&nbsp;2 [[!CSS21]],
81-
which builds on CSS level&nbsp;1 [[CSS1]]</var>.
82-
The main extensions compared to <var class="replaceme">level&nbsp;2</var> are <var class="replaceme">SUMMARIZE HERE</var>.
78+
<a href="http://www.w3.org/TR/CSS/">CSS</a> is a language for describing
79+
the rendering of structured documents (such as HTML and XML) on screen, on
80+
paper, in speech, etc.
8381

8482
<h2 class="no-num no-toc" id="status">Status of this document</h2>
8583

css3-text/Overview.html

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3131,66 +3131,69 @@ <h3 id=hanging-punctuation><span class=secno>9.2. </span> Hanging
31313131
</table>
31323132

31333133
<p>This property determines whether a punctuation mark, if one is present,
3134-
may be placed outside the line box (or in the indent) at the start or at
3135-
the end of a line of text.
3134+
<a href="#hangs"><i>hangs</i></a> and may be placed outside the line box
3135+
(or in the indent) at the start or at the end of a line of text.
31363136

31373137
<p class=note>Note that if there is not sufficient padding on the block
3138-
container, hanging punctuation can trigger overflow.
3138+
container, &lsquo;<a href="#hanging-punctuation0"><code
3139+
class=property>hanging-punctuation</code></a>&rsquo; can trigger overflow.
3140+
3141+
<p>When a punctuation mark <dfn id=hangs title=hang>hangs</dfn>, it is not
3142+
considered when measuring the line's contents for fit, alignment, or
3143+
justification. Depending on the line's alignment, this may (or may not)
3144+
result in the mark being placed outside the line box.
31393145

31403146
<p>Values have the following meanings:
31413147

31423148
<dl>
31433149
<dt><dfn id=none2 title="hanging-punctuation:none">&lsquo;<code
31443150
class=css>none</code>&rsquo;</dfn>
31453151

3146-
<dd>No characters can hang.
3152+
<dd>No character <a href="#hangs"><i>hangs</i></a>.
31473153

31483154
<dt><dfn id=first title="hanging-punctuation:first">&lsquo;<code
31493155
class=css>first</code>&rsquo;</dfn>
31503156

31513157
<dd>An opening bracket or quote at the start of the <a
31523158
href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">first
3153-
formatted line</a> of an element hangs. This applies to all characters in
3154-
the Unicode categories Ps, Pf, Pi.
3159+
formatted line</a> of an element <a href="#hangs"><i>hangs</i></a>. This
3160+
applies to all characters in the Unicode categories Ps, Pf, Pi.
31553161

31563162
<dt><dfn id=last title="hanging-punctuation:last">&lsquo;<code
31573163
class=css>last</code>&rsquo;</dfn>
31583164

31593165
<dd>A closing bracket or quote at the end of the <i>last formatted
3160-
line</i> of an element hangs. This applies to all characters in the
3161-
Unicode categories Pe, Pf, Pi.
3166+
line</i> of an element <a href="#hangs"><i>hangs</i></a>. This applies to
3167+
all characters in the Unicode categories Pe, Pf, Pi.
31623168

31633169
<dt><dfn id=force-end title="hanging-punctuation:force-end">&lsquo;<code
31643170
class=css>force-end</code>&rsquo;</dfn>
31653171

3166-
<dd>A stop or comma at the end of a line hangs.
3172+
<dd>A stop or comma at the end of a line <a
3173+
href="#hangs"><i>hangs</i></a>.
31673174

31683175
<dt><dfn id=allow-end title="hanging-punctuation:allow-end">&lsquo;<code
31693176
class=css>allow-end</code>&rsquo;</dfn>
31703177

3171-
<dd>A stop or comma at the end of a line hangs if it does not otherwise
3172-
fit prior to justification.
3178+
<dd>A stop or comma at the end of a line <a href="#hangs"><i>hangs</i></a>
3179+
if it does not otherwise fit prior to justification.
31733180
</dl>
31743181

3175-
<p>When a punctuation mark hangs, it is not considered when measuring the
3176-
line's contents for fit, alignment, or justification. Depending on the
3177-
line's alignment, this can push the mark outside the line box. At most one
3178-
punctuation character may hang outside each edge of the line.
3179-
3180-
<p class=note>A hanging punctuation mark is still enclosed inside its
3181-
inline box and participates in text justification: its character advance
3182-
width is just not measured when determining how much content fits on the
3183-
line, how much the line's contents need to be expanded or compressed for
3184-
justification, or how to position the content within the line box for text
3185-
alignment.
3186-
3187-
<p>Non-zero start and end borders or padding on an inline box are not
3188-
allowed to hang. This can prevent a hangable punctuation mark from
3189-
hanging: for example, a period at the end of an inline box with end
3190-
padding cannot hang outside the end edge of a line.
3191-
3192-
<p><dfn id=stops-and-commas>Stops and commas</dfn> allowed to hang include:
3193-
3182+
<p>Non-zero start and end borders/padding between a <a
3183+
href="#hangs"><i>hang</i></a>eable mark and the edge of the line prevent
3184+
the mark from hanging. For example, a period at the end of an inline box
3185+
with end padding does not <a href="#hangs"><i>hang</i></a> at the end edge
3186+
of a line. At most one punctuation character may <a
3187+
href="#hangs"><i>hang</i></a> at each edge of the line.
3188+
3189+
<p>A hanging punctuation mark is still enclosed inside its inline box and
3190+
participates in text justification: its character advance width is just
3191+
not measured when determining how much content fits on the line, how much
3192+
the line's contents need to be expanded or compressed for justification,
3193+
or how to position the content within the line box for text alignment.
3194+
3195+
<p><dfn id=stops-and-commas>Stops and commas</dfn> allowed to <a
3196+
href="#hangs"><i>hang</i></a> include:
31943197

31953198
<table class=data>
31963199
<tbody>

css3-text/Overview.src.html

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2346,52 +2346,52 @@ <h3 id="hanging-punctuation">
23462346
</table>
23472347

23482348
<p>This property determines whether a punctuation mark, if one is present,
2349-
may be placed outside the line box (or in the indent) at the start
2350-
or at the end of a line of text.
2349+
<i>hangs</i> and may be placed outside the line box (or in the indent)
2350+
at the start or at the end of a line of text.
23512351

23522352
<p class="note">Note that if there is not sufficient padding on the
2353-
block container, hanging punctuation can trigger overflow.</p>
2353+
block container, 'hanging-punctuation' can trigger overflow.</p>
2354+
2355+
<p>When a punctuation mark <dfn title="hang">hangs</dfn>, it is not considered
2356+
when measuring the line's contents for fit, alignment, or justification.
2357+
Depending on the line's alignment, this may (or may not)
2358+
result in the mark being placed outside the line box.
23542359

23552360
<p>Values have the following meanings:</p>
23562361

23572362
<dl>
23582363
<dt><dfn title="hanging-punctuation:none">''none''</dfn></dt>
2359-
<dd>No characters can hang.</dd>
2364+
<dd>No character <i>hangs</i>.</dd>
23602365
<dt><dfn title="hanging-punctuation:first">''first''</dfn></dt>
23612366
<dd>An opening bracket or quote at the start of the
23622367
<a href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">first
2363-
formatted line</a> of an element hangs.
2368+
formatted line</a> of an element <i>hangs</i>.
23642369
This applies to all characters in the Unicode categories Ps, Pf, Pi.</dd>
23652370
<dt><dfn title="hanging-punctuation:last">''last''</dfn></dt>
23662371
<dd>A closing bracket or quote at the end of the
2367-
<i>last formatted line</i> of an element hangs.
2372+
<i>last formatted line</i> of an element <i>hangs</i>.
23682373
This applies to all characters in the Unicode categories Pe, Pf, Pi.</dd>
23692374
<dt><dfn title="hanging-punctuation:force-end">''force-end''</dfn></dt>
2370-
<dd>A stop or comma at the end of a line hangs.</dd>
2375+
<dd>A stop or comma at the end of a line <i>hangs</i>.</dd>
23712376
<dt><dfn title="hanging-punctuation:allow-end">''allow-end''</dfn></dt>
2372-
<dd>A stop or comma at the end of a line hangs if it
2377+
<dd>A stop or comma at the end of a line <i>hangs</i> if it
23732378
does not otherwise fit prior to justification.</dd>
23742379
</dl>
23752380

2376-
<p>When a punctuation mark hangs, it is not considered when measuring
2377-
the line's contents for fit, alignment, or justification.
2378-
Depending on the line's alignment, this can push the mark outside the
2379-
line box. At most one punctuation character may hang outside each edge
2380-
of the line.
2381-
2382-
<p class="note">A hanging punctuation mark is still enclosed inside
2383-
its inline box and participates in text justification: its character
2384-
advance width is just not measured when determining how much content
2385-
fits on the line, how much the line's contents need to be expanded
2386-
or compressed for justification, or how to position the content
2387-
within the line box for text alignment.
2388-
2389-
<p>Non-zero start and end borders or padding on an inline box are not
2390-
allowed to hang. This can prevent a hangable punctuation mark
2391-
from hanging: for example, a period at the end of an inline box with
2392-
end padding cannot hang outside the end edge of a line.
2393-
2394-
<p><dfn>Stops and commas</dfn> allowed to hang include:
2381+
<p>Non-zero start and end borders/padding between
2382+
a <i>hang</i>eable mark and the edge of the line prevent the mark from hanging.
2383+
For example, a period at the end of an inline box with end padding
2384+
does not <i>hang</i> at the end edge of a line.
2385+
At most one punctuation character may <i>hang</i> at each edge of the line.
2386+
2387+
<p>A <i>hanging</i> punctuation mark is still enclosed inside its inline box
2388+
and participates in text justification:
2389+
its character advance width is just not measured when determining
2390+
how much content fits on the line,
2391+
how much the line's contents need to be expanded or compressed for justification,
2392+
or how to position the content within the line box for text alignment.
2393+
2394+
<p><dfn>Stops and commas</dfn> allowed to <i>hang</i> include:
23952395
<table class="data">
23962396
<tr><td>U+002C <td>&#x002C; <td>COMMA
23972397
<tr><td>U+002E <td>&#x002E; <td>FULL STOP

css3-writing-modes/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,7 +2918,7 @@ <h2 id="intrinsic-sizing" class="no-num">Appendix D:
29182918

29192919
<p>For the purposes of these definitions,
29202920
a <dfn>definite</dfn> size is one that can be determined without measuring content,
2921-
i.e. is a <var>&lt;length></var>, a size of the initial containig block,
2921+
i.e. is a <var>&lt;length></var>, a size of the initial containing block,
29222922
or a <var>&lt;percentage></var> that is resolved against a <i>definite</i> size.
29232923
An <dfn>indefinite</dfn> size is one that is not <i>definite</i>.
29242924
An <i>indefinite</i> <i>available size</i> is essentially infinite.
@@ -2995,8 +2995,8 @@ <h2 id="intrinsic-sizing" class="no-num">Appendix D:
29952995
and flooring the result at zero.
29962996
If the available measure is infinite, then a <dfn id=fallback-measure>fallback available measure</dfn>
29972997
is used in place of the <i>available measure</i> in this calculation.
2998-
(In the case of orthogonal flows, this is the measure of the initial
2999-
containing block.)
2998+
Unless otherwise specified, this is the measure of the initial
2999+
containing block.
30003000
The <dfn>fill-available extent</dfn> is similarly calculated by
30013001
using the corresponding values from the block dimension.
30023002
<dt><dfn>fit-content</dfn></dt>

0 commit comments

Comments
 (0)