- From: Ishii Koji via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 18 Apr 2011 07:17:26 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv9626
Modified Files:
Overview.html Overview.src.html
Log Message:
Add an example section for hanging-punctuation: allow-end and force-end
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -d -r1.109 -r1.110
--- Overview.html 18 Apr 2011 07:15:53 -0000 1.109
+++ Overview.html 18 Apr 2011 07:17:24 -0000 1.110
@@ -4193,6 +4193,28 @@
UAs that wish to support CJK typography, particularly those in the
Japanese market.
+ <div class=example>
+ <p>The ‘<code class=css>allow-end</code>’ and ‘<code
+ class=css>force-end</code>’ are two variations of hanging
+ punctuation used in East Asia.</p>
+
+ <div class=figure>
+ <p><img alt="hanging-punctuation: allow-end (left) and force-end (right)"
+ height=51 src=hanging-punctuation-end.png width=388>
+
+ <p class=caption>‘<a href="#hanging-punctuation0"><code
+ class=property>hanging-punctuation</code></a>’: ‘<code
+ class=css>allow-end</code>’ (left) and ‘<code
+ class=css>force-end</code>’ (right)</p>
+ </div>
+
+ <p>The punctuation at the end of the first line for ‘<code
+ class=css>allow-end</code>’ does not hang, because it fits without
+ hanging. If ‘<code class=css>force-end</code>’ is used,
+ however, it is forced to hang. The justification measures the line
+ without the hanging punctuation and therefore the line is expanded.</p>
+ </div>
+
<h2 id=decoration><span class=secno>11. </span> <a
name=text-decoration>Text Decoration</a></h2>
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- Overview.src.html 18 Apr 2011 07:15:53 -0000 1.207
+++ Overview.src.html 18 Apr 2011 07:17:24 -0000 1.208
@@ -3132,6 +3132,22 @@
for UAs that wish to support CJK typography, particularly those in
the Japanese market.</p>
+ <div class="example">
+ <p>The ''allow-end'' and ''force-end'' are two variations of
+ hanging punctuation used in East Asia.</p>
+ <div class="figure">
+ <p><img src="hanging-punctuation-end.png"
+ width="388" height="51"
+ alt="hanging-punctuation: allow-end (left) and force-end (right)">
+ <p class="caption">'hanging-punctuation': ''allow-end'' (left) and ''force-end'' (right)</p>
+ </div>
+ <p>The punctuation at the end of the first line for ''allow-end''
+ does not hang, because it fits without hanging.
+ If ''force-end'' is used, however, it is forced to hang.
+ The justification measures the line without the hanging punctuation
+ and therefore the line is expanded.</p>
+ </div>
+
<h2 id="decoration">
<a name="text-decoration">Text Decoration</a></h2>
Received on Monday, 18 April 2011 07:17:28 UTC