- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 25 Jul 2011 01:38:52 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text
In directory hutz:/tmp/cvs-serv20172
Modified Files:
Overview.html Overview.src.html
Log Message:
Remove hyphenate-resource per WG resolution
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.html,v
retrieving revision 1.160
retrieving revision 1.161
diff -u -d -r1.160 -r1.161
--- Overview.html 25 Jul 2011 01:34:44 -0000 1.160
+++ Overview.html 25 Jul 2011 01:38:49 -0000 1.161
@@ -90,7 +90,7 @@
<dt>This version:
<dd><a href="http://dev.w3.org/csswg/css3-text/Overview.html">$Date:
- 2011/07/25 01:19:21 $ (CVS $Revision$)</a> <!--
+ 2011/07/25 01:34:44 $ (CVS $Revision$)</a> <!--
<dd><a href="http://www.w3.org/TR/2011/WD-css3-text-20110725/">http://www.w3.org/TR/2011/WD-css3-text-20110725/</a></dd>
-->
@@ -216,11 +216,6 @@
<li>the ‘<code class=css>hyphenate-limit-*</code>’ properties
- <li>the ‘<a href="#hyphenate-resource"><code
- class=property>hyphenate-resource</code></a>’ property / ‘<a
- href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’ at-rule
-
<li>the ‘<a href="#text-spacing"><code
class=property>text-spacing</code></a>’ property
@@ -311,18 +306,6 @@
Hyphenation Line Limits: the ‘<code
class=property>hyphenate-limit-lines</code>’ and ‘<code
class=property>hyphenate-limit-last</code>’ properties</a>
-
- <li><a href="#hyphenation-resource"><span class=secno>5.6. </span>
- Hyphenation Resources</a>
- <ul class=toc>
- <li><a href="#at-hyphenate-resource"><span class=secno>5.6.1.
- </span>The ‘<code class=css>@hyphenate-resource</code>’
- rule</a>
-
- <li><a href="#the-hyphenate-resource"><span class=secno>5.6.2.
- </span>The ‘<code
- class=property>hyphenate-resource</code>’ property</a>
- </ul>
</ul>
<li><a href="#wrapping"><span class=secno>6. </span> Text Wrapping</a>
@@ -1500,11 +1483,6 @@
<li>‘<a href="#hyphenate-limit-lines"><code
class=property>hyphenate-limit-lines</code></a>’
-
- <li>‘<code class=property>hyphenate-resources</code>’
-
- <li>‘<a href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’
</ul>
<p>Nonetheless, UAs are strongly encouraged to optimize their line-breaking
@@ -1978,201 +1956,6 @@
</pre>
</div>
- <h3 id=hyphenation-resource><span class=secno>5.6. </span> Hyphenation
- Resources</h3>
-
- <div class=issue>
- <h4 id=at-hyphenate-resource><span class=secno>5.6.1. </span>The ‘<a
- href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’ rule</h4>
-
- <p>ISSUE: this ‘<a href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’ at-rule is a proposal
- that would replace the ‘<a href="#hyphenate-resource"><code
- class=property>hyphenate-resource</code></a>’ property.
-
- <dl>
- <dt>advantages of ‘<a href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’
-
- <dd>
- <ul>
- <li>Minimal data storage (set per-language, not per-element).
-
- <li>Requires language-tagging, which also enables the correct use of
- local dictionaries (and can also trigger other typographic
- improvements).
-
- <li>Can use RFC4647 language-mapping, which is more intelligent than
- :lang()'s prefix-matching. (Could also argue that :lang() should
- use RFC4647.)
- </ul>
-
- <dt>disadvantages of ‘<a href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’
-
- <dd>
- <ul>
- <li>Requires language-tagging; cannot select on any other criteria.
- Variations in hyphenation rules within the same language in a given
- document will require use of subtags.
- </ul>
-
- <dt>advantages of ‘<a href="#hyphenate-resource"><code
- class=property>hyphenate-resource</code></a>’
-
- <dd>
- <ul>
- <li>Can use any selector, not just language-mapping.
-
- <li>Implemented in Prince.
- </ul>
-
- <dt>disadvantages of ‘<a href="#hyphenate-resource"><code
- class=property>hyphenate-resource</code></a>’
-
- <dd>
- <ul>
- <li>Requires per-element data storage.
- </ul>
- </dl>
-
- <p>Feedback on this issue is requested.</p>
-
- <p>The ‘<a href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’ <a
- href="http://www.w3.org/TR/CSS21/syndata.html#at-rules">at-rule</a>
- allows the author to specify hyphenation resources that the UA may use to
- help it hyphenate text correctly.
-
- <p>The ‘<a href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’ rule consists of the
- ‘<a href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’ at-keyword followed by a
- hyphenation mapping declaration block, which has the same syntax as a
- declaration block, except that the properties are language codes and the
- property values are comma-separated lists of <url> component values
- indicating the location of author-suggested hyphenation resources ordered
- from most to least preferred. The keyword value ‘<code
- class=css>local</code>’ may be used in place of one of the
- <url> values to suggest the use of a local (UA-provided)
- hyphenation resource. If the ‘<code class=css>local</code>’
- value is missing, it is assumed to be the first (most-preferred) resource
- in the list.
-
- <p>The hyphenation resource list that applies to the text in an element is
- the one given by the last hyphenation mapping declaration whose language
- code matches the language of the element. Language code matching must be
- performed using RFC4647 <a href="#RFC4647"
- rel=biblioentry>[RFC4647]<!--{{!RFC4647}}--></a> <span
- class=issue>explain exactly how</span>.</p>
-
- <p class=note>Since the last matching declaration takes effect, authors
- should list the most general mapping first, and the most specific last.
- Note also that declarations are not concatenated, so if multiple
- dictionaries are needed, they must be listed completely in each
- declaration.</p>
-
- <div class=example>
- <pre>
-<!-- -->@hyphenate-resource {
-<!-- --> /* English */
-<!-- --> en: url(en-GB.hy);
-<!-- --> en-US: url(en-US.hy);
-<!-- --> en-x-hixie: url(hixie.hy), local, url(en-GB.hy);
-<!-- --> en-US-x-hixie: url(hixie.hy), local, url(en-US.hy);
-<!-- --> /* français */
-<!-- --> fr: url(fr.hy);
-<!-- -->}
- </pre>
-
- <p>In the example above, the ‘<code
- class=css>en-x-hixie</code>’ rule is used for both ‘<code
- class=css>en-x-hixie</code>’ and ‘<code
- class=css>en-GB-x-hixie</code>’. It is not used for ‘<code
- class=css>en-US-x-hixie</code>’ because the ‘<code
- class=css>en-US-x-hixie</code>’ rule is given last. If the order
- were reversed, the ‘<code class=css>en-US-x-hixie</code>’
- rule would never be used.
- </div>
-
- <p class=issue>Use a format specifier, like @font-face? What is the
- format?</p>
-
- <p>UAs are not required to support this at-rule.</p>
- </div>
-
- <h4 id=the-hyphenate-resource><span class=secno>5.6.2. </span>The ‘<a
- href="#hyphenate-resource"><code
- class=property>hyphenate-resource</code></a>’ property</h4>
-
- <table class=propdef>
- <tbody>
- <tr>
- <th>Name:
-
- <td><dfn id=hyphenate-resource>hyphenate-resource</dfn>
-
- <tr>
- <th>Value:
-
- <td>none | <uri> [, <uri> ]*
-
- <tr>
- <th>Initial:
-
- <td>none
-
- <tr>
- <th>Applies to:
-
- <td>all elements
-
- <tr>
- <th>Inherited:
-
- <td>yes
-
- <tr>
- <th>Percentages:
-
- <td>N/A
-
- <tr>
- <th>Media:
-
- <td>visual
-
- <tr>
- <th>Computed value:
-
- <td>specified value
- </table>
-
- <p>This property specifies a comma-separated list of external resources
- that can help the UA determine hyphenation points. If more than one
- resource is specified, the UA should consult each resource – in
- turn, from the beginning – until it finds one that is able to
- determine hyphenation points in a word. The ‘<code
- class=property>none</code>’ value indicates that no external
- resources are available. In any case, the UA can also use local resources
- not listed on this property.
-
- <div class=example>
- <p>Often, finding the right hyphenate resource is based on knowing the
- language of the text. The <code>lang</code> attribute is recommended for
- encoding the language, and the corresponding selector is used in this
- example:
-
- <pre>
-<!-- -->:lang(dk) { hyphenate-resource: url("hyph_da_DK.dic"), url("hyph_da_NO.dic") }
- </pre>
- </div>
-
- <p>UAs are not required to support this property.
-
- <p class=issue>Use a format specifier, like @font-face? What is the format?
-
<h2 id=wrapping><span class=secno>6. </span> Text Wrapping</h2>
<p>Text wrapping is controlled by the ‘<a href="#text-wrap0"><code
@@ -5426,15 +5209,6 @@
</dd>
<!---->
- <dt id=RFC4647>[RFC4647]
-
- <dd>A. Phillips; M. Davis. <a
- href="http://www.ietf.org/rfc/rfc4647.txt"><cite>Matching of Language
- Tags.</cite></a> September 2006. Internet RFC 4647. URL: <a
- href="http://www.ietf.org/rfc/rfc4647.txt">http://www.ietf.org/rfc/rfc4647.txt</a>
- </dd>
- <!---->
-
<dt id=UAX11>[UAX11]
<dd>Asmus Freytag. <a
@@ -6275,21 +6049,6 @@
<td>visual
<tr>
- <td><a class=property href="#hyphenate-resource">hyphenate-resource</a>
-
- <td>none | <uri> [, <uri> ]*
-
- <td>none
-
- <td>all elements
-
- <td>yes
-
- <td>N/A
-
- <td>visual
-
- <tr>
<td><a class=property href="#hyphens0">hyphens</a>
<td>none | manual | auto
@@ -6837,9 +6596,6 @@
<li>hyphenate-limit-zone, <a href="#hyphenate-limit-zone"
title=hyphenate-limit-zone><strong>5.3.</strong></a>
- <li>hyphenate-resource, <a href="#hyphenate-resource"
- title=hyphenate-resource><strong>5.6.2.</strong></a>
-
<li>hyphens, <a href="#hyphens0" title=hyphens><strong>5.1.</strong></a>
<li>Ideographs, <a href="#ideographs"
@@ -7305,14 +7061,6 @@
<td>Western, South Asian
<tr>
- <td>‘<a href="#hyphenate-resource"><code
- class=property>hyphenate-resource</code></a>’/‘<a
- href="#hyphenate-resource"><code
- class=css>@hyphenate-resource</code></a>’
-
- <td>Western, South Asian
-
- <tr>
<td>‘<a href="#line-break0"><code
class=property>line-break</code></a>’
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-text/Overview.src.html,v
retrieving revision 1.258
retrieving revision 1.259
diff -u -d -r1.258 -r1.259
--- Overview.src.html 25 Jul 2011 01:34:44 -0000 1.258
+++ Overview.src.html 25 Jul 2011 01:38:49 -0000 1.259
@@ -179,7 +179,6 @@
<li>the 'hanging-punctuation' property
<li>the percentage values of 'letter-spacing' and 'word-spacing'
<li>the 'hyphenate-limit-*' properties
- <li>the 'hyphenate-resource' property / ''@hyphenate-resource'' at-rule
<li>the 'text-spacing' property
<li>the 'text-decoration-skip' property / ''ink'' value
<li>the 'text-emphasis-skip' property
@@ -995,8 +994,6 @@
<li>'hyphenate-limit-zone'
<li>'hyphenate-limit-chars'
<li>'hyphenate-limit-lines'
- <li>'hyphenate-resources'
- <li>''@hyphenate-resource''
</ul>
<p>Nonetheless, UAs are strongly encouraged to optimize their line-breaking
@@ -1340,148 +1337,6 @@
</pre>
</div>
- <h3 id="hyphenation-resource">
- Hyphenation Resources</h3>
-
-<div class="issue">
- <h4 id="at-hyphenate-resource">The ''@hyphenate-resource'' rule</h4>
-
- <p>ISSUE: this ''@hyphenate-resource'' at-rule is a proposal that would replace
- the 'hyphenate-resource' property.
-
- <dl>
- <dt>advantages of ''@hyphenate-resource''</dt>
- <dd><ul>
- <li>Minimal data storage (set per-language, not per-element).
- <li>Requires language-tagging, which also enables the correct use
- of local dictionaries (and can also trigger other typographic
- improvements).
- <li>Can use RFC4647 language-mapping, which is more intelligent
- than :lang()'s prefix-matching. (Could also argue that :lang()
- should use RFC4647.)
- </ul></dd>
- <dt>disadvantages of ''@hyphenate-resource''</dt>
- <dd><ul>
- <li>Requires language-tagging; cannot select on any other criteria.
- Variations in hyphenation rules within the same language in a given
- document will require use of subtags.
- </ul></dd>
- <dt>advantages of 'hyphenate-resource'</dt>
- <dd><ul>
- <li>Can use any selector, not just language-mapping.
- <li>Implemented in Prince.
- </ul></dd>
- <dt>disadvantages of 'hyphenate-resource'</dt>
- <dd><ul>
- <li>Requires per-element data storage.
- </ul></dd>
- </dl>
-
- <p>Feedback on this issue is requested.</p>
-
- <p>The ''@hyphenate-resource'' <a href="http://www.w3.org/TR/CSS21/syndata.html#at-rules">at-rule</a>
- allows the author to specify hyphenation resources that the UA
- may use to help it hyphenate text correctly.
-
- <p>The ''@hyphenate-resource'' rule consists of the ''@hyphenate-resource''
- at-keyword followed by a hyphenation mapping declaration block, which
- has the same syntax as a declaration block, except that the properties
- are language codes and the property values are comma-separated lists
- of <url> component values indicating the location of
- author-suggested hyphenation resources ordered from most to least
- preferred.
- The keyword value ''local'' may be used in place of one of the
- <url> values to suggest the use of a local (UA-provided)
- hyphenation resource. If the ''local'' value is missing, it is
- assumed to be the first (most-preferred) resource in the list.
-
- <p>The hyphenation resource list that applies to the text in an element
- is the one given by the last hyphenation mapping declaration whose
- language code matches the language of the element.
- Language code matching must be performed using RFC4647 [[!RFC4647]]
- <span class="issue">explain exactly how</span>.</p>
-
- <p class="note">Since the last matching declaration takes effect,
- authors should list the most general mapping first, and the most
- specific last. Note also that declarations are not concatenated,
- so if multiple dictionaries are needed, they must be listed
- completely in each declaration.</p>
-
- <div class="example">
- <pre>
-<!-- -->@hyphenate-resource {
-<!-- --> /* English */
-<!-- --> en: url(en-GB.hy);
-<!-- --> en-US: url(en-US.hy);
-<!-- --> en-x-hixie: url(hixie.hy), local, url(en-GB.hy);
-<!-- --> en-US-x-hixie: url(hixie.hy), local, url(en-US.hy);
-<!-- --> /* français */
-<!-- --> fr: url(fr.hy);
-<!-- -->}
- </pre>
- <p>In the example above, the ''en-x-hixie'' rule is used for both
- ''en-x-hixie'' and ''en-GB-x-hixie''. It is not used for
- ''en-US-x-hixie'' because the ''en-US-x-hixie'' rule is given
- last. If the order were reversed, the ''en-US-x-hixie'' rule
- would never be used.
- </div>
-
- <p class="issue">Use a format specifier, like @font-face? What is the format?</p>
-
- <p>UAs are not required to support this at-rule.</p>
-</div>
-
- <h4 id="the-hyphenate-resource">The 'hyphenate-resource' property</h4>
-
- <table class=propdef>
- <tr>
- <th>Name:
- <td><dfn>hyphenate-resource</dfn>
- <tr>
- <th>Value:
- <td>none | <uri> [, <uri> ]*
- <tr>
- <th>Initial:
- <td>none
- <tr>
- <th>Applies to:
- <td>all elements
- <tr>
- <th>Inherited:
- <td>yes
- <tr>
- <th>Percentages:
- <td>N/A
- <tr>
- <th>Media:
- <td>visual
- <tr>
- <th>Computed value:
- <td>specified value
- </table>
-
- <p>This property specifies a comma-separated list of external resources
- that can help the UA determine hyphenation points. If more than one
- resource is specified, the UA should consult each resource –
- in turn, from the beginning – until it finds one that is able to
- determine hyphenation points in a word. The 'none' value indicates that
- no external resources are available. In any case, the UA can also use
- local resources not listed on this property.
-
- <div class="example">
- <p>Often, finding the right hyphenate resource is based on knowing the
- language of the text. The <code>lang</code> attribute is recommended
- for encoding the language, and the corresponding selector is used in
- this example:
- <pre>
-<!-- -->:lang(dk) { hyphenate-resource: url("hyph_da_DK.dic"), url("hyph_da_NO.dic") }
- </pre>
- </div>
-
- <p>UAs are not required to support this property.</p>
-
- <p class="issue">Use a format specifier, like @font-face? What is the format?</p>
-
<h2 id="wrapping">
Text Wrapping</h2>
@@ -4497,8 +4352,6 @@
<td>Western, South Asian
<tr><td>'hyphenate-limit-zone'
<td>Western, South Asian
- <tr><td>'hyphenate-resource'/''@hyphenate-resource''
- <td>Western, South Asian
<tr><td>'line-break'
<td>CJK (Japanese)
<tr><td>'text-decoration-skip': ''edges''
Received on Monday, 25 July 2011 01:38:54 UTC