Skip to content

Commit 7fca46d

Browse files
author
Peter Linss
committed
merge
2 parents 567ff60 + a897d38 commit 7fca46d

File tree

5 files changed

+483
-345
lines changed

5 files changed

+483
-345
lines changed

biblio.ref

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2608,6 +2608,12 @@
26082608
%R Report (draft) ISO/IEC CD15444-1:1999
26092609
%U http://www.jpeg.org/cd15444-1.pdf
26102610

2611+
%L JUSTIFY
2612+
%A Elika Etemad
2613+
%A Richard Ishida
2614+
%T Approches to Full Justification
2615+
%U https://www.w3.org/International/articles/typography/justification
2616+
26112617
%L KUIL
26122618
%A Thierry Kormann
26132619
%T KUIL, the Koala User Interface Language

bin/issuegen.pl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,12 @@
172172

173173
# Linkify URLs
174174
s/(http\S+)/<a href='\1'>\1<\/a>/g;
175-
# Add thread link
176-
s/>(http[s]?:\/\/lists.w3.org\/Archives\/Public\/)(\S+)<\/a>/>\1\2<\/a> (<a href="https:\/\/www.w3.org\/Mail\/flatten\/index?subject=https\%3A\%2F\%2Flists.w3.org\%2FArchives\%2FPublic\%2F\2">thread<\/a>)/g;
177175

176+
# Add thread links
177+
s/>(http[s]?:\/\/lists.w3.org\/Archives\/Public\/)(\S+)<\/a>/>\1\2<\/a> <a href="https:\/\/www.w3.org\/Mail\/flatten\/index?subject=https\%3A\%2F\%2Flists.w3.org\%2FArchives\%2FPublic\%2F\2"><abbr title="Thread">&#x2208;<\/abbr><\/a>/g;
178178

179+
# Add mid links
180+
s/>(http[s]?:\/\/www.w3.org\/mid\/)(\S+)<\/a>/>\1\2<\/a> <a href="mid:\2"><abbr title="Open Message">&#x2386;<\/abbr><\/a>/g;
179181

180182
# Anchor issue number
181183
s/Issue (\w+)\./Issue \1. <a href='#issue-\1'>#<\/a>/;
@@ -251,6 +253,8 @@ sub header {
251253
:not(pre).fo { background: red }
252254
.open { border: solid red; }
253255
:target { box-shadow: 0.25em 0.25em 0.25em; }
256+
a[href^=mid], a[href~=flatten] { text-decoration: none; }
257+
abbr { font-weight: bold; }
254258
</style>
255259
256260
<h1>$title Disposition of Comments for $date $status</h1>

css-text/Overview.bs

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ Line Breaking Details</h3>
805805
and additionally, for Web-compatibility, introduces a <a>soft wrap opportunity</a>
806806
between itself and any adjacent U+00A0 NO-BREAK SPACE character.
807807
<li>For <a>soft wrap opportunities</a> created by characters that disappear at the line break (e.g. U+0020 SPACE),
808-
properties on the element containing that character control the line breaking at that opportunity.
808+
properties on the box directly containing that character control the line breaking at that opportunity.
809809
For <a>soft wrap opportunities</a> defined by the boundary between two characters,
810810
the properties on nearest common ancestor of the two characters controls breaking.
811811
<!-- http://lists.w3.org/Archives/Public/www-style/2008Dec/0043.html -->
@@ -1323,15 +1323,15 @@ Line Breaking Details</h3>
13231323
Name: text-justify
13241324
Value: auto | none | inter-word | inter-character
13251325
Initial: auto
1326-
Applies to: block containers and, optionally, inline elements
1326+
Applies to: inlines
13271327
Inherited: yes
13281328
Canonical order: n/a
13291329
</pre>
13301330

13311331
<p>This property selects the justification method used when a line's
13321332
alignment is set to ''justify'' (see 'text-align').
1333-
The property applies to block containers, but the UA may (but
1334-
is not required to) also support it on inline elements.
1333+
The property applies to inlines,
1334+
but is inherited from block containers to the root inline box containing their inline-level contents.
13351335
It takes the following values:</p>
13361336

13371337
<dl dfn-for=text-justify dfn-type=value>
@@ -1445,14 +1445,22 @@ Expanding and Compressing Text</h4>
14451445
A justification opportunity can be provided by a single <a>typographic character unit</a>
14461446
(such as a <a>word separator</a>),
14471447
or by the juxtaposition of two <a>typographic character units</a>.
1448+
As with controls for <a href="#line-break-details">soft wrap opportunities</a>,
1449+
whether a <a>typographic character unit</a> provides a <a>justification opportunity</a>
1450+
is controlled by the 'text-justify' value of its parent;
1451+
similarly, whether a <a>justification opportunity</a> exists between two consecutive <a>typographic character units</a>
1452+
is determined by the 'text-justify' value of their nearest common ancestor.
1453+
1454+
<p>
14481455
Space distributed by justification is <em>in addition to</em>
14491456
the spacing defined by the 'letter-spacing' or 'word-spacing' properties.
1450-
However, when space is distributed to a <a>word separator</a> <a>justification opportunity</a>,
1457+
When such additional space is distributed to a <a>word separator</a> <a>justification opportunity</a>,
14511458
it is applied under the same rules as for 'word-spacing'.
14521459
Similarly, when space is distributed to an <a>justification opportunity</a> between
14531460
two <a>typographic character units</a>,
14541461
it is applied under the same rules as for 'letter-spacing'.
14551462

1463+
14561464
<p>A justification algorithm may divide <a>justification opportunities</a> into different priority levels.
14571465
All <a>justification opportunities</a> within a given level
14581466
are expanded or compressed at the same priority,
@@ -1571,9 +1579,9 @@ Minimum Requirements for ''text-justify/auto'' Justification</h4>
15711579
vs. the justification opportunity between a Han letter followed by a Hangul letter.
15721580
</ul>
15731581

1574-
Further information about justification can be found at &hellip;
1575-
1576-
Issue: Need a stable reference from i18n. <code>http://w3c.github.io/typography/#justification</code> is not a good reference URL.
1582+
Further information on text justification can be found in (or submitted to) <a href="https://www.w3.org/International/articles/typography/justification">“Approaches to Full Justification”</a>,
1583+
which indexes by writing system and language,
1584+
and is maintained by the <a href="https://www.w3.org/International/">W3C Internationalization Working Group</a>. [[JUSTIFY]]
15771585

15781586
<h2 id="spacing">
15791587
Spacing</h2>

0 commit comments

Comments
 (0)