@@ -90,7 +90,7 @@ <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 January
9090 < dt > This version:
9191
9292 < dd > < a href ="http://dev.w3.org/csswg/css3-text/Overview.html "> $Date:
93- 2011/01/17 02:25:32 $ (CVS $Revision$)</ a > <!--<dd><a
93+ 2011/01/17 02:30:16 $ (CVS $Revision$)</ a > <!--<dd><a
9494 href="http://www.w3.org/TR/2010/WD-css3-text-20101005/">http://www.w3.org/TR/2010/WD-css3-text-20101005/</a></dd> -->
9595
9696
@@ -287,6 +287,10 @@ <h2 class="no-num no-toc" id=contents>Table of Contents</h2>
287287 Hyphenation Line Limits: the ‘< code
288288 class =property > hyphenate-limit-lines</ code > ’ and ‘< code
289289 class =property > hyphenate-limit-last</ code > ’ properties</ a >
290+
291+ < li > < a href ="#hyphenation-resource "> < span class =secno > 6.4. </ span >
292+ Hyphenation Resources: the ‘< code
293+ class =css > @hyphenate-resource</ code > ’ rule</ a >
290294 </ ul >
291295
292296 < li > < a href ="#wrapping "> < span class =secno > 7. </ span > Text Wrapping</ a >
@@ -1713,6 +1717,52 @@ <h3 id=hyphenate-line-limits><span class=secno>6.3. </span> Hyphenation
17131717 </ pre >
17141718 </ div >
17151719
1720+ < h3 id =hyphenation-resource > < span class =secno > 6.4. </ span > Hyphenation
1721+ Resources: the ‘< code class =css > @hyphenate-resource</ code > ’
1722+ rule</ h3 >
1723+
1724+ < p > The ‘< code class =css > @hyphenate-resource</ code > ’ < a
1725+ href ="http://www.w3.org/TR/CSS21/syndata.html#at-rules "> at-rule</ a > allows
1726+ the author to specify hyphenation resources that the UA may use to help it
1727+ hyphenate text correctly.
1728+
1729+ < p > The ‘< code class =css > @hyphenate-resource</ code > ’ rule
1730+ consists of the ‘< code class =css > @hyphenate-resource</ code > ’
1731+ at-keyword followed by a hyphenation mapping declaration block, which has
1732+ the same syntax as a declaration block, except that the properties are
1733+ language codes and the property values are comma-separated lists of
1734+ <url> component values.
1735+
1736+ < p > The author-specified hyphenation resources that apply to the text in an
1737+ element are the resources given by the last hyphenation mapping
1738+ declaration whose language code matches the language of the element.
1739+ Language code matching must be performed using RFC4647 [[!RFC4647]] < span
1740+ class =issue > explain exactly how</ span > .
1741+
1742+ < p class =note > Since the last matching declaration takes effect, authors
1743+ should list the most general mapping first, and the most specific last.
1744+ Note also that declarations are not concatenated, so if multiple
1745+ dictionaries are needed, they must be listed completely in each
1746+ declaration.
1747+
1748+ < pre class =example >
1749+ @hyphenate-resource {
1750+ en: url(en-GB.hy);
1751+ en-US: url(en-US.hy);
1752+ fr: url(fr.hy);
1753+ }
1754+ </ pre >
1755+
1756+ < p > The UA may use its own dictionaries in addition to, or in place of,
1757+ those suggested by the author.
1758+
1759+ < p class =issue > Mix in an ‘< code class =css > auto</ code > ’ keyword,
1760+ to specify priority of UA dictionary wrt author dictionary?
1761+
1762+ < p class =issue > Use a format specifier, like @font-face?
1763+
1764+ < p > UAs are not required to support this at-rule.
1765+
17161766 < h2 id =wrapping > < span class =secno > 7. </ span > Text Wrapping</ h2 >
17171767
17181768 < p > Text wrapping is controlled by the ‘< a href ="#text-wrap0 "> < code
@@ -4596,7 +4646,7 @@ <h4 id=text-emphasis-position><span class=secno>11.2.4. </span> Emphasis
45964646 class =css > below right</ code > ’</ dfn >
45974647
45984648 < dd > Draw marks below the text in horizontal layout, to the right in
4599- vertical typographic.
4649+ vertical typographic mode .
46004650 </ dl >
46014651
46024652 < p class =issue > Do we need to add ‘< code class =css > left</ code > ’
@@ -4959,6 +5009,14 @@ <h3 class=no-num id=recent-changes> Changes from the <a
49595009 ‘< code class =css > ideograph-parenthesis</ code > ’ values of
49605010 ‘< a href ="#text-autospace0 "> < code
49615011 class =property > text-autospace</ code > </ a > ’.
5012+
5013+ < li > Copied hyphenation controls over from < a
5014+ href ="http://www.w3.org/TR/css3-gcpm "> CSS3 Generated Content for Paged
5015+ Media Module</ a > and updated with feedback from < a
5016+ href ="http://lists.w3.org/Archives/Public/www-style/2010Nov/0241.html "> TPAC</ a >
5017+ and < a
5018+ href ="http://lists.w3.org/Archives/Public/www-style/2010Sep/0002.html "> Oslo
5019+ F2F</ a > .
49625020 </ ul >
49635021
49645022 < h2 class =no-num id =acknowledgements > Acknowledgements</ h2 >
0 commit comments