Skip to content

Commit 9a077f0

Browse files
committed
[css-text] margins (in addition to borders/padding) also block hanging. Because I can't think why margins/padding should be different here. <http://lists.w3.org/Archives/Public/www-style/2013Nov/0178.html>
1 parent 65b32cb commit 9a077f0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

css-text/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,7 +2296,7 @@ Word Spacing: the 'word-spacing' property</h3>
22962296

22972297
<p>When a punctuation mark <dfn title="hang">hangs</dfn>, it is not considered
22982298
when measuring the line's contents for fit, alignment, or justification.
2299-
Depending on the line's alignment, this may (or may not)
2299+
Depending on the line's alignment/justification, this can
23002300
result in the mark being placed outside the line box.
23012301

23022302
<p>Values have the following meanings:</p>
@@ -2320,7 +2320,7 @@ Word Spacing: the 'word-spacing' property</h3>
23202320
does not otherwise fit prior to justification.</dd>
23212321
</dl>
23222322

2323-
<p>Non-zero start and end borders/padding between
2323+
<p>Non-zero start and end borders/padding/margins between
23242324
a <i>hang</i>able mark and the edge of the line prevent the mark from hanging.
23252325
For example, a period at the end of an inline box with end padding
23262326
does not <i>hang</i> at the end edge of a line.

css-text/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
</p>
105105
<h1 class="p-name no-ref" id=title>CSS Text Module Level 3</h1>
106106
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
107-
<span class=dt-updated><span class=value-title title=20140710>10 July 2014</span></span></span></h2>
107+
<span class=dt-updated><span class=value-title title=20140721>21 July 2014</span></span></span></h2>
108108
<div data-fill-with=spec-metadata><dl>
109109
<dt>This version:
110110
<dd><a class=u-url href=http://dev.w3.org/csswg/css-text-3/>http://dev.w3.org/csswg/css-text-3/</a>
@@ -2430,7 +2430,7 @@ <h3 class="heading settled heading" data-level=9.2 id=hanging-punctuation-proper
24302430

24312431
<p>When a punctuation mark <dfn data-dfn-type=dfn data-noexport="" id=hang title=hang>hangs<a class=self-link href=#hang></a></dfn>, it is not considered
24322432
when measuring the line’s contents for fit, alignment, or justification.
2433-
Depending on the line’s alignment, this may (or may not)
2433+
Depending on the line’s alignment/justification, this can
24342434
result in the mark being placed outside the line box.
24352435

24362436
<p>Values have the following meanings:</p>
@@ -2454,7 +2454,7 @@ <h3 class="heading settled heading" data-level=9.2 id=hanging-punctuation-proper
24542454
does not otherwise fit prior to justification.</dd>
24552455
</dl>
24562456

2457-
<p>Non-zero start and end borders/padding between
2457+
<p>Non-zero start and end borders/padding/margins between
24582458
a <a data-link-type=dfn href=#hang title=hang>hang</a>able mark and the edge of the line prevent the mark from hanging.
24592459
For example, a period at the end of an inline box with end padding
24602460
does not <a data-link-type=dfn href=#hang title=hang>hang</a> at the end edge of a line.

0 commit comments

Comments
 (0)