Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Linss committed Apr 18, 2017
2 parents 567ff60 + a897d38 commit 7fca46d
Show file tree
Hide file tree
Showing 5 changed files with 483 additions and 345 deletions.
6 changes: 6 additions & 0 deletions biblio.ref
Expand Up @@ -2608,6 +2608,12 @@
%R Report (draft) ISO/IEC CD15444-1:1999
%U http://www.jpeg.org/cd15444-1.pdf

%L JUSTIFY
%A Elika Etemad
%A Richard Ishida
%T Approches to Full Justification
%U https://www.w3.org/International/articles/typography/justification

%L KUIL
%A Thierry Kormann
%T KUIL, the Koala User Interface Language
Expand Down
8 changes: 6 additions & 2 deletions bin/issuegen.pl
Expand Up @@ -172,10 +172,12 @@

# Linkify URLs
s/(http\S+)/<a href='\1'>\1<\/a>/g;
# Add thread link
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;

# Add thread links
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;

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

# Anchor issue number
s/Issue (\w+)\./Issue \1. <a href='#issue-\1'>#<\/a>/;
Expand Down Expand Up @@ -251,6 +253,8 @@ sub header {
:not(pre).fo { background: red }
.open { border: solid red; }
:target { box-shadow: 0.25em 0.25em 0.25em; }
a[href^=mid], a[href~=flatten] { text-decoration: none; }
abbr { font-weight: bold; }
</style>
<h1>$title Disposition of Comments for $date $status</h1>
Expand Down
24 changes: 16 additions & 8 deletions css-text/Overview.bs
Expand Up @@ -805,7 +805,7 @@ Line Breaking Details</h3>
and additionally, for Web-compatibility, introduces a <a>soft wrap opportunity</a>
between itself and any adjacent U+00A0 NO-BREAK SPACE character.
<li>For <a>soft wrap opportunities</a> created by characters that disappear at the line break (e.g. U+0020 SPACE),
properties on the element containing that character control the line breaking at that opportunity.
properties on the box directly containing that character control the line breaking at that opportunity.
For <a>soft wrap opportunities</a> defined by the boundary between two characters,
the properties on nearest common ancestor of the two characters controls breaking.
<!-- http://lists.w3.org/Archives/Public/www-style/2008Dec/0043.html -->
Expand Down Expand Up @@ -1323,15 +1323,15 @@ Line Breaking Details</h3>
Name: text-justify
Value: auto | none | inter-word | inter-character
Initial: auto
Applies to: block containers and, optionally, inline elements
Applies to: inlines
Inherited: yes
Canonical order: n/a
</pre>

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

<dl dfn-for=text-justify dfn-type=value>
Expand Down Expand Up @@ -1445,14 +1445,22 @@ Expanding and Compressing Text</h4>
A justification opportunity can be provided by a single <a>typographic character unit</a>
(such as a <a>word separator</a>),
or by the juxtaposition of two <a>typographic character units</a>.
As with controls for <a href="#line-break-details">soft wrap opportunities</a>,
whether a <a>typographic character unit</a> provides a <a>justification opportunity</a>
is controlled by the 'text-justify' value of its parent;
similarly, whether a <a>justification opportunity</a> exists between two consecutive <a>typographic character units</a>
is determined by the 'text-justify' value of their nearest common ancestor.

<p>
Space distributed by justification is <em>in addition to</em>
the spacing defined by the 'letter-spacing' or 'word-spacing' properties.
However, when space is distributed to a <a>word separator</a> <a>justification opportunity</a>,
When such additional space is distributed to a <a>word separator</a> <a>justification opportunity</a>,
it is applied under the same rules as for 'word-spacing'.
Similarly, when space is distributed to an <a>justification opportunity</a> between
two <a>typographic character units</a>,
it is applied under the same rules as for 'letter-spacing'.


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

Further information about justification can be found at &hellip;

Issue: Need a stable reference from i18n. <code>http://w3c.github.io/typography/#justification</code> is not a good reference URL.
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>,
which indexes by writing system and language,
and is maintained by the <a href="https://www.w3.org/International/">W3C Internationalization Working Group</a>. [[JUSTIFY]]

<h2 id="spacing">
Spacing</h2>
Expand Down

0 comments on commit 7fca46d

Please sign in to comment.