csswg/css3-text Overview.html,1.109,1.110 Overview.src.html,1.207,1.208

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 &lsquo;<code class=css>allow-end</code>&rsquo; and &lsquo;<code
+    class=css>force-end</code>&rsquo; 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>&lsquo;<a href="#hanging-punctuation0"><code
+     class=property>hanging-punctuation</code></a>&rsquo;: &lsquo;<code
+     class=css>allow-end</code>&rsquo; (left) and &lsquo;<code
+     class=css>force-end</code>&rsquo; (right)</p>
+   </div>
+
+   <p>The punctuation at the end of the first line for &lsquo;<code
+    class=css>allow-end</code>&rsquo; does not hang, because it fits without
+    hanging. If &lsquo;<code class=css>force-end</code>&rsquo; 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